Scalable multi-group nonnegative spatial factorization for spatial genomics data with cell-type heterogeneity
Luis Chumpitaz-Diaz, Priyanka ShresthaiD, Barbara Elizabeth EngelhardtiD
Abstract
Spatial transcriptomics (ST) technologies enable the study of gene expression within the spatial context of tissues, providing insights into tissue structure, cellular interactions, and disease progression. However, existing dimension reduction methods often overlook spatial information or struggle to distinguish spatial gene patterns from those driven by cell-type differences, limiting biological interpretability by convolving differences in gene expression patterns with differences in cell-type proportions. To address these challenges, we introduce the scalable multi-group nonnegative spatial factorization (smNSF), a computationally-tractable probabilistic framework that integrates spatial coordinates and cell-type labels into a unified matrix factorization model. By using multi-group Gaussian processes (MGGPs) as priors, our model captures complex spatial variation in a cell-type specific way while enforcing nonnegativity to enhance interpretability. We develop a variational inference framework for MGGPs that supports scalable optimization and improves the numerical stability of smNSF. Across seven spatial transcriptomics datasets spanning diverse technologies and tissues, smNSF recovers sparse, interpretable spatial factors and, through its cell-type conditional posteriors, organizes them into cell-type enriched, cell-type specific, and universal spatial programs that are not apparent from marginal factors alone. Given cell-type labels in ST data, smNSF enables cell-type aware spatial decompositions and supports cell-type conditional posteriors for in silico exploration of relationships between spatial patterns and cellular identity. Author summaryMost current analysis methods for spatial transcriptomics either ignore spatial structure or fail to separate gene-driven spatial patterns from cell-type driven differences. In this work, we develop a method that uses spatial coordinates and cell-type labels together to better uncover patterns of gene expression. Our approach, scalable multi-group nonnegative spatial factorization (smNSF), uses Gaussian processes to model spatial structure, which we extend to capture both spatial structure and cell type within a unified framework called multi-group Gaussian processes. Applying smNSF to spatial transcriptomics datasets from mouse brain and human tissues, we find that conditioning on different cell types reveals spatial patterns that are invisible in standard analyses: some cell types suppress a pattern, others sharpen it, and some reveal structure that only emerges after conditioning. This helps us understand how cell-type specific spatial programs contribute to tissue organization. To make this analysis tractable on the scale of modern spatial experiments, we also introduce a new computational approximation for Gaussian processes that is directly applicable in principle to other latent variable GP models. Together, these tools help disentangle biological sources of variation and support in silico exploration of how gene expression might change under different tissue or cell-type compositions.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Neighborhood nonnegative matrix factorization identifies patterns and spatially-variable genes in large-scale spatial transcriptomics data
Ragnhild Laursen, Han Chen, … Barbara Elizabeth Engelhardt·Genome biologyPeer-reviewed·Jan 16, 2026
- DTractor enhances cell type deconvolution in spatial transcriptomics by integrating deep neural networks, transfer learning, and matrix factorization
Yong Jin Kweon, Chenyu Liu, … Jun Ding·bioRxiv·Apr 12, 2025
- SpatioCell: Deep Integration of Histology and Spatial Transcriptomics for Profiling the Cellular Microenvironment at Single-Cell Level
Naiqiao Hou, Yue Yu, … Jia Song·中国科学通报:英文版Peer-reviewed·Jun 3, 2026
- spOT-NMF: Optimal Transport-Based Matrix Factorization for Accurate Deconvolution of Spatial Transcriptomics
Aly O. Abdelkareem, Gurveer S. Gill, … A. Sorana Morrissy·bioRxiv·Aug 2, 2025
- STANCE: a unified statistical model to detect cell-type-specific spatially variable genes in spatial transcriptomics
Haohao Su, Yuesong Wu, … Yuehua Cui·Nature CommunicationsPeer-reviewed·Feb 20, 2025
- Flexible Analysis of Spatial Transcriptomics Data (FAST): A Deconvolution Approach
Meng Zhang, Yiwen Liu, … Xiaoxiao Sun·BMC BioinformaticsPeer-reviewed·Jan 31, 2025