Package: SpaTopic 1.3.1

Xiyu Peng

SpaTopic: Topic Inference to Identify Tissue Architecture in Multiplexed Images

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.

Authors:Xiyu Peng [aut, cre], Nikki Xiao [aut]

SpaTopic_1.3.1.tar.gz
SpaTopic_1.3.1.tar.gz(r-4.7-arm64)SpaTopic_1.3.1.tar.gz(r-4.7-x86_64)SpaTopic_1.3.1.tar.gz(r-4.6-arm64)SpaTopic_1.3.1.tar.gz(r-4.6-x86_64)
SpaTopic_1.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
SpaTopic/json (API)
NEWS

# Install 'SpaTopic' in R:
install.packages('SpaTopic', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/xiyupeng/spatopic/issues

Pkgdown/docs site:https://xiyupeng.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • lung5 - Example input data for 'SpaTopic'

On CRAN:

Conda:

openblascppopenmp

3.04 score 22 scripts 174 downloads 9 exports 18 dependencies

Last updated from:f7e1081eb1. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK185
linux-devel-x86_64OK183
source / vignettesOK285
linux-release-arm64OK156
linux-release-x86_64OK173
wasm-releaseOK142

Exports:frex_topiclabel_topicslift_topicprob_topicscore_topicSeurat5obj_to_SpaTopicSpaTopic_inferencestratified_sampling_3D_via_2Dstratified_sampling_sf

Dependencies:classclassIntcodetoolsDBIe1071foreachiteratorsKernSmoothMASSproxyRANNRcppRcppArmadilloRcppProgresss2sfunitswk

SpaTopic Basics

Rendered fromIntro_SpaTopic.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2025-03-03
Started: 2024-01-18