NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Integrating spatial and single-cell transcriptomics data using deep generative models with SpatialScope

Xiaomeng Wan, Jiashun Xiao, Sindy Sing Ting Tam, Mingxuan Cai, Ryohichi Sugimura, Yang Wang, Xiang Wan, Zhixiang Lin, Angela Ruohao Wu, Can YangNature Communications 2023

Abstract

The rapid emergence of spatial transcriptomics (ST) technologies is revolutionizing our understanding of tissue spatial architecture and biology. Although current ST methods, whether based on next-generation sequencing (seq-based approaches) or fluorescence in situ hybridization (image-based approaches), offer valuable insights, they face limitations either in cellular resolution or transcriptome-wide profiling. To address these limitations, we present SpatialScope, a unified approach integrating scRNA-seq reference data and ST data using deep generative models. With innovation in model and algorithm designs, SpatialScope not only enhances seq-based ST data to achieve single-cell resolution, but also accurately infers transcriptome-wide expression levels for image-based ST data. We demonstrate SpatialScope's utility through simulation studies and real data analysis from both seq-based and image-based ST approaches. SpatialScope provides spatial characterization of tissue structures at transcriptome-wide single-cell resolution, facilitating downstream analysis, including detecting cellular communication through ligand-receptor interactions, localizing cellular subtypes, and identifying spatially differentially expressed genes.

Introduction

Biological tissues are complex 3D puzzles where a cell's location is just as important as its identity. Currently, researchers use two main tools to study this, but both have significant limitations. Single-cell RNA sequencing (scRNA-seq) provides high-definition gene activity lists but loses all spatial context. Conversely, Spatial Transcriptomics (ST) methods involve trade-offs: seq-based methods (e.g., 10x Visium) capture the whole transcriptome but often blend 10+ cells into a single "spot," while image-based methods (e.g., MERFISH) offer single-cell resolution but are restricted to a few hundred pre-selected genes.

SpatialScope is a new deep generative framework designed to bridge this gap. By leveraging score-based generative models, it decomposes low-resolution spots into individual cell profiles and expands limited gene panels into transcriptome-wide maps, enabling researchers to visualize tissue architecture with unprecedented clarity.

Methodology

SpatialScope employs a unified three-step pipeline powered by deep generative models to process spatial data:

  1. Nucleus Segmentation: The framework utilizes StarDist on H&E-stained tissue images to determine the exact number of cells within each spatial spot.
  2. Cell Type Identification: A probabilistic model assigns cell types to these nuclei. A key innovation here is the incorporation of a Potts model, which enforces "spatial smoothness"—the biological assumption that a cell is likely the same type as its immediate neighbors.
  3. Gene Expression Decomposition: This core step uses a conditional score-based generative model learned from scRNA-seq and Langevin dynamics to "generate" the most likely gene expression profile for each cell. This ensures the aggregate of these generated cells matches the observed spot-level data while accounting for platform-specific noise.
The three-step SpatialScope pipeline: nucleus segmentation, cell type identification, and gene expression decomposition.

Results and Discussion

SpatialScope was validated using a mix of simulated benchmarks and real-world datasets, including 10x Visium, Slide-seq V2, and MERFISH data.

Superior Accuracy and Resolution

In benchmarking, SpatialScope reduced cell-type misclassification errors by 50.3% compared to Tangram and 20.6% compared to CytoSPACE. By treating integration as a generative task rather than simple alignment, the model effectively mitigates the "batch effects" (technical noise) that typically plague cross-platform data integration.

Downstream Biological Insights

The high-resolution outputs of SpatialScope facilitate several critical downstream analyses:

  • Cell-Cell Interactions: In human heart data, the model's single-cell resolution allowed for the detection of specific ligand-receptor interactions (e.g., Nrg1-Erbb4) that were previously blurred at the spot level.
  • Transcriptome Expansion: In MERFISH data, the model successfully imputed expression levels for thousands of genes not in the original panel, identifying 2.3 times more spatially differentially expressed genes.
  • Dropout Correction: The model effectively "filled in" gaps in sparse data like Slide-seq, where technical limitations often result in many genes appearing as zeros.
SpatialScope outputs and downstream analysis applications, including cell-cell interaction detection and gene expression imputation.

Conclusion and Future Work

SpatialScope serves as a versatile tool for enhancing spatial transcriptomics, providing a unified path to transcriptome-wide, single-cell resolution. While powerful, the computational intensity of training deep generative models remains a challenge. Future developments may involve incorporating Graph Convolutional Networks (GCNs) or Attention mechanisms to make spatial learning more adaptive to complex tissue geometries and heterogeneous boundaries.

Summary updated

BibTeX
@inproceedings{wan2023integrating,
  author = {Xiaomeng Wan and Jiashun Xiao and Sindy Sing Ting Tam and Mingxuan Cai and Ryohichi Sugimura and Yang Wang and Xiang Wan and Zhixiang Lin and Angela Ruohao Wu and Can Yang},
  title = {{Integrating spatial and single-cell transcriptomics data using deep generative models with SpatialScope}},
  booktitle = {Nature Communications},
  year = {2023},
  doi = {10.1038/s41467-023-43629-w},
}
Figure