Topic Inference to Identify Tissue Architecture in Multiplexed Images
Overview
A novel spatial topic model to integrate both cell type and spatial information to identify the complex spatial tissue architecture on multiplexed tissue images without human intervention. The Package implements a collapsed Gibbs sampling algorithm for inference. The method is highly scalable to large-scale image datasets without extracting neighborhood information for every single cell. The package supports spatially resolved cell-level data analysis, topic inference, visualization, and downstream biological interpretation of tissue microenvironments.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-01
Show 6 earlier changesHide 6 earlier changes
- ERROR12 OK, 1 ERROR2026-04-28
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-10
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 14includes a package overview page
- Examples that run
- 67%4 run in a plain check · 1 never run · 1 hold no code
- Exported functions with examples
- 44%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 67
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/xiyupeng/spatopic on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.3.1Latest2026-05-29 · current release · diff ↗ ·
added 6 exports
frex_topic, label_topics, lift_topic, prob_topic, score_topic, stratified_sampling_3D_via_2D - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.2.02025-03-03 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.1.02024-04-23 · diff ↗
- 1.0.12024-01-17
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-17
- Total releases
- 4 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 487 KB / 1 file
- Download size
- 433 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("SpaTopic")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1038/s41467-025-61821-y.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.