Analysis Guides
Mar 17, 2022

Integrating Single Cell and Visium Spatial Gene Expression Data

Share via:

Note: 10x Genomics does not provide support for community-developed tools and makes no guarantees regarding their function or performance. Please contact tool developers with any questions. If you have feedback about Analysis Guides, please email [email protected].

Single cell and Visium gene expression data can be combined to elucidate spatiality in single cell data and improve resolution in Visium data.


Problem: Single Cell RNAseq methods resolve gene expression at the single cell level, but lose the spatial context of the cells. Visium spatial gene expression maintains spatial information, but the resolution of each spot can cover is limited with each spot covering multiple cells (typically 1-10 cells).

Solution: With their complementary strengths these data types are a prime target for integration. The current computational tools for single cell and Visium integration fall on a continuum between deconvolution and mapping approaches. Deconvolution methods aim to identify the cell types and their relative proportions contributing to a spot, while mapping methods seek to assign the most likely dominant cell type to a spot.

For integration to work well, the single cell and Visium datasets need to be similar in their biology, but they do not necessarily need to be from the same sample. This allows the use of previously published and well characterized single cell datasets from large consortiums (eg, Human Cell Atlas) to be leveraged in analyzing Visium data. For examples of use cases, including cell-cell communication and rare identifying rare cell populations, and a more comprehensive analysis of deconvolution and mapping see the review cited below.

The selection of tools and algorithms below is not comprehensive. New and exciting tools, algorithms, and other resources continue to be released. We compiled this list based on a combination of factors including citations, quality of documentation, functionality/ease of use, and active support.

Community developed tools and algorithms

Spacexr/Robust cell-type decomposition (RCTD):

Deconvolution approach that uses a reference-based probabilistic model to resolve cell types from a single spot containing a mixture of cell types, infers the cell type proportions with a maximum-likelihood estimation, and projects them onto a spatial map of cell types.

Seurat label transfer:

Mapping approach that can be used to “anchor” diverse datasets together, including different types of single cell data (transcriptomic, epigenomic, and proteomic) and single cell and spatial data.


Deconvolution approach that can “incorporate prior information about the tissue to estimate absolute cell type abundance” as a Bayesian prior.


Mapping approach that takes advantage of graphics processing hardware (GPUs) for rapid run times.


Deconvolution approach using a seeded non-negative matrix factorization (NMF) regression.

Related review and benchmarking publications

Required skills and resources:

  • Ability to program in a scripting language (the specific language is tool dependent)
  • Some tools may require specialized hardware (eg tangram uses GPUs)
  • Comfortable in the Linux environment
  • Comfortable running command line bioinformatic tools
  • Understanding of the experimental design and how it influences analysis

Things to watch out for:

  • Data set mismatch, the single cell data should be a logical complement to the Visium data given the known biology