Skip to content

a uniform framework of cell segmentation on spatially resolved transcriptomes

License

Notifications You must be signed in to change notification settings

BrainStOrmics/Starro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starro: a uniform framework of cell segmentation on spatially resolved transcriptomes

python~=3.8 documentation

Quick Example - Citation

image

Cell segmentation, the process of distinguishing boundaries of individual cells, is an essential prerequisite for analyses of emerging subcellular-resolution sequencing-based spatial transcriptomics (sST). Conventional image segmentation techniques rely on in situ cell staining, resulting in multiple technical challenges during subsequent ex situ sequencing process in sST experiments. Here, we present Starro, a segmentation method that directly leverages RNA signals for precise delineation of cellular boundaries from sST data. We demonstrate Starro’s robustness and accuracy across extensive benchmarks, including both simulated and real data from sequencing-based and imaging-based ST data. Additionally, we showcase how Starro empowers various downstream analyses by identifying rare, spatially-dispersed murine embryonic macrophages, predicting pleiotropic ligand-receptor interactions during limb morphogenesis, computing RNA velocity of cardiac cell fate bifurcation, and making spatially-resolved in silico perturbation predictions. These results demonstrate Starro's power in enabling spatial-aware single-cell level analyses for many STs, with potential to revolutionize or replace conventional scRNA-seq techniques.

Highlights of Starro:

  • Starro provides the sole RNA-based, image-based, and combinatorial cell segmentation approaches, capable of analyzing all published sequencing- and imaging-based spatial transcriptomic data with subcellular resolution.

  • Starro incorporates domain partitioning to account for the spatial heterogeneity of RNA density prior to segmentation. It optimizes the latent parameters according to local densities, segmenting cells in each partitioned domain. This process is highly integrated, working silently and automatically.

  • Starro leverages spot-wise RNA intensity and density as two fundamental features to construct the null hypothesis, enabling highly sensitive segmentation as long as the cell is observable to the naked eye.

  • Starro utilizes three novel algorithms, namely combinatorial Expectation Maximization and Belief Propagation (EM-BP), Modified local Moran’s I (mLMI), and Gaussian blurred-OTSU (gOTSU), to balance accuracy and data scalability in many diverse scenarios.

  • Starro also includes spatially-resolved pleiotropic ligand-receptor interaction analysis and RNA-velocity vector field analysis, enriching downstream research possibilities.

Usage

Installation

pip install git+https://github.com/BrainStOrmics/Starro.git

Tutorials and demo-cases

  • Starro is integrated and easier to use in our comprehensive spatial transcriptomics analytic framework Spateo.
  • The tutorial page for integrated Starro cell segmentation is at Cell segmentation tutorial page.
  • A brief tutorial (vignette) is also included in this standalone package.

Reproducibility

Scripts to reproduce benchmarking and analytic results in Starro paper are in repository Starro_scripts

Discussion

Users can use issue tracker to report software/code related issues. For discussion of novel usage cases and user tips, contribution on Starro performance optimization, please contact the authors via email.

About

a uniform framework of cell segmentation on spatially resolved transcriptomes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published