Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
[Preprint]. 2025 Jan 27:2025.01.24.634756.
doi: 10.1101/2025.01.24.634756.

SpaIM: Single-cell Spatial Transcriptomics Imputation via Style Transfer

Affiliations

SpaIM: Single-cell Spatial Transcriptomics Imputation via Style Transfer

Bo Li et al. bioRxiv. .

Abstract

Spatial transcriptomics (ST) technologies have revolutionized our understanding of cellular ecosystems. However, these technologies face challenges such as sparse gene signals and limited gene detection capacities, which hinder their ability to fully capture comprehensive spatial gene expression profiles. To address these limitations, we propose leveraging single-cell RNA sequencing (scRNA-seq), which provides comprehensive gene expression data but lacks spatial context, to enrich ST profiles. Herein, we introduce SpaIM, an innovative style transfer learning model that utilizes scRNA-seq information to predict unmeasured gene expressions in ST data, thereby improving gene coverage and expressions. SpaIM segregates scRNA-seq and ST data into data-agnostic contents and data-specific styles, with the contents capture the commonalities between the two data types, while the styles highlight their unique differences. By integrating the strengths of scRNA-seq and ST, SpaIM overcomes data sparsity and limited gene coverage issues, making significant advancements over 12 existing methods. This improvement is demonstrated across 53 diverse ST datasets, spanning sequencing- and imaging-based spatial technologies in various tissue types. Additionally, SpaIM enhances downstream analyses, including the detection of ligand-receptor interactions, spatial domain characterization, and identification of differentially expressed genes. Released as open-source software, SpaIM increases accessibility for spatial transcriptomics analysis. In summary, SpaIM represents a pioneering approach to enrich spatial transcriptomics using scRNA-seq data, enabling precise gene expression imputation and advancing the field of spatial transcriptomics research.

PubMed Disclaimer

Conflict of interest statement

COMPETING INTERESTS The authors declare no competing interests.

Figures

Fig. 1
Fig. 1. Overview of the SpaIM model.
SpaIM comprises the comprises an ST autoencoder and an ST generator. Both ST autoencoder and ST generator are built on the multilayer Recursive Style Transfer (ReST) layers.
Fig. 2
Fig. 2. Performance evaluation in the breast cancer dataset.
a Comparison results between SpaIM and existing methods using Pearson correlation coefficient (PCC). b Comparison results between SpaIM and existing methods using structural similarity index measure (SSIM). c Spatial visualization of the ground truth and the predicted gene expressions. d Spatial visualization of spatial domains. e Scatter plot of associated ligand receptor pairs in the raw data and the SpaIM-imputed data.
Fig. 3
Fig. 3. Benchmarking performance on the NanoString CosMx SMI dataset.
a Benchmarking results on the Lung9-rep1 dataset, using evaluation metrics including structural similarity index measure (SSIM) and Jaccard similarity (JS). b Spatial visualization of cell types in the Lung9-rep1 dataset. c Comparisons of the number of differentially expressed genes in each cell type. d Spatial visualization of ground truth and the predicted expressions of tumor-related genes.
Fig. 4
Fig. 4. SpaIM facilities spatial domain detection.
a Benchmarking results on the NanoString CosMx spatial transcriptomics dataset (Lung5-rep3), using evaluation metrics including structural similarity index measure (SSIM) and Jaccard similarity (JS). b Spatial visualization of cell types in the whole slide. d Spatial visualization of cell types specific Field Of Views (FOVs).
Fig. 5
Fig. 5. SpaIM reliably recovers unmeasured genes.
a UMAP visualizations of all cell populations and nontumor populations. b UMAP visualization of the imputation of unmeasured marker genes by SpaIM. c UMAP visualization of the imputation of unmeasured marker genes by Tangram.
Fig.
Fig.. Gene imputation performance across diverse spatial transcriptomics (ST) datasets.
Comparison results across (a) 21Visium ST datasets; (b) 28 sequencing-base datasets; (c) 25 imaging-based ST datasets; (d) total 53 datasets profiled by diverse ST technologies, using ranked Pearson correlation coefficient (PCC), Jaccard similarity (JS), and Accuracy score.

Similar articles

References

    1. Giacomello S. et al. Spatially resolved transcriptome profiling in model plant species. Nature Plants 3, 17061 (2017). - PubMed
    1. Berglund E. et al. Spatial maps of prostate cancer transcriptomes reveal an unexplored landscape of heterogeneity. Nature communications 9, 1–13 (2018). - PMC - PubMed
    1. Thrane K., Eriksson H., Maaskola J., Hansson J. & Lundeberg J. Spatially resolved transcriptomics enables dissection of genetic heterogeneity in stage III cutaneous malignant melanoma. Cancer research 78, 5970–5979 (2018). - PubMed
    1. Asp M. et al. A Spatiotemporal Organ-Wide Gene Expression and Cell Atlas of the Developing Human Heart. Cell 179, 1647–1660.e1619 (2019). - PubMed
    1. Maynard K.R. et al. Transcriptome-scale spatial gene expression in the human dorsolateral prefrontal cortex. bioRxiv, 2020.2002.2028.969931 (2020). - PMC - PubMed

Publication types

LinkOut - more resources