Skip to content
BIOINFORMATICS RESEARCH GUIDE

Spatial Transcriptomics Analysis Explained: Spatially Resolved Gene Expression Workflows

Spatial transcriptomics integrates high-throughput RNA sequencing with histological tissue imaging to quantify gene expression while preserving exact two-dimensional anatomical coordinates. By combining captured mRNA barcodes with tissue morphology and computational tools like Seurat Spatial and Giotto, researchers dissect cellular microenvironments, tumor-stroma boundaries, and localized tissue niches.

Key Takeaways

  • Spatial transcriptomics preserves morphological context that is lost during tissue dissociation in standard single-cell RNA-seq.
  • Spatial capture spots (e.g., 55 μm diameter in 10x Visium) typically capture 1 to 10 cells per spot, requiring computational cell-type deconvolution.
  • Analysis integrates high-resolution histological images (H&E or immunofluorescence) with spot-level transcriptomic barcode matrices.
  • Spatially variable gene algorithms (SpatialDE, Moran's I) identify genes whose expression patterns correlate with physical tissue architecture.
  • Multi-omics integration pairs spatial transcriptomics with scRNA-seq references to map discrete cell subsets into physical tissue niches.

What Is Spatial Transcriptomics and Why Does Spatial Context Matter?

In classical single-cell biology, isolating individual cells requires enzymatic dissociation of intact tissues. While dissociation enables single-cell resolution, it destroys spatial geography, cell-cell contact interfaces, and morphological tissue architecture. Knowing that an immune cell is activated provides limited insight if one cannot determine whether it is actively invading a tumor core or sequestered in distant stroma.

Spatial transcriptomics bridges this divide. By placing cryosectioned histological tissue slices directly onto microarrays printed with spatially barcoded capture probes, mRNA transcripts released from tissue permeabilization hybridize in situ at their precise spatial coordinates. Sequencing these spatially tagged libraries reveals spatial gene expression maps that directly align with underlying histology.

How Do You Prepare Tissue Sections and Design Spatial Capture Experiments?

Spatial transcriptomics requires rigorous histological and molecular optimization. Tissue quality must be verified using RNA Integrity Number (RIN >= 7). Fresh-frozen or formal-fixed paraffin-embedded (FFPE) tissue sections are cut at 5 to 10 μm thickness and mounted within designated capture areas on specialized slides.

A critical experimental milestone is tissue permeabilization optimization. The tissue must be enzymatically permeabilized with pepsin or collagenase long enough to allow cellular mRNA to diffuse down to the capture oligonucleotides on the slide surface, but brief enough to prevent lateral diffusion that blurs spatial resolution. High-resolution brightfield H&E imaging or fluorescent imaging is performed prior to or during permeabilization.

How Are Spatial Images and Barcode Matrices Processed?

Processing begins with pipeline software such as Space Ranger from 10x Genomics. Space Ranger aligns the high-resolution microscope image with sequencing reads, identifies fiducial frame markers, registers capture spots underneath the tissue boundary, and demultiplexes spatial barcodes against reference transcriptomes.

Quality control inspects:

  • Tissue Coverage: Confirming that identified capture spots accurately overlay histological tissue boundaries and exclude bare slide areas.
  • UMI and Gene Counts per Spot: Spots over dense, metabolically active tissue regions display high UMI counts, whereas acellular or necrotic zones show low transcript counts.
  • Mitochondrial Fraction: Evaluating tissue damage or hypoxia markers across spatial coordinates.

How Do You Detect Spatially Variable Genes and Cluster Tissue Niches?

Following quality control, spot-level gene expression is normalized using regularized negative binomial regression (SCTransform in Seurat or Giotto) to stabilize variance across spots with differing cellular densities.

Unsupervised clustering identifies spatial domains sharing distinct transcriptional signatures. Beyond standard clustering, researchers identify Spatially Variable Genes (SVGs), genes whose expression is non-randomly distributed across physical space. Statistical algorithms such as SpatialDE, Trendsceek, and spatial autocorrelation metrics (Moran's I and Geary's C) identify genes displaying localized spatial gradients, localized hotspots, or boundary-specific expression independent of cluster boundaries.

How Does Cell-Type Deconvolution Integrate Single-Cell Reference Atlases?

In standard capture-array platforms like 10x Visium, each 55-micron spot captures mRNA from approximately 1 to 10 individual cells. Consequently, spots represent miniature multi-cellular mixtures rather than pure single cells.

To resolve single-cell identities within each spot, computational cell-type deconvolution algorithms are applied. Tools such as RCTD (Robust Cell Type Deconvolution), Cell2location, and stereoscope take a matched single-cell RNA-seq reference atlas and probabilistically estimate the absolute or relative abundance of each cell type within every individual spatial spot. This enables precise mapping of rare immune subsets, fibroblasts, and specialized epithelial lineages across histological tissue zones.

What Are the Major Outputs and Analytical Pitfalls in Spatial Transcriptomics?

Standard deliverables include spatial feature plots displaying gene expression and cluster identities directly overlaid onto histological images, spatial domain cluster maps, cell-type deconvolution proportion matrices per spot, spatially variable gene rankings, and spatial ligand-receptor interaction networks.

Critical analytical pitfalls include:

  • Lateral RNA Diffusion: Over-permeabilization causes mRNA to diffuse laterally across adjacent spots, creating artificial co-expression signatures. Verifying sharp expression boundaries at histological margins confirms protocol fidelity.
  • Misalignment Between Image and Array: Errors in automated fiducial grid detection produce misregistered spatial coordinates. Manual inspection in Loupe Browser is essential.
  • Ignoring Spot Cell Density Variations: Differences in spot transcript counts frequently reflect cell packing density rather than biological upregulation; rigorous normalization is mandatory.

Apply These Skills in Your Research

Master this computational workflow step by step with our hands-on mentoring, or collaborate with our data science team for production analysis:

Learn this in our 30-day workshop: Spatial Transcriptomics Data Analysis Workshop Need this analysis done for your data? Spatial Biology & Transcriptomics Services

Frequently Asked Questions

What is the resolution difference between 10x Visium and single-cell spatial platforms?

Standard 10x Visium features 55-micron spots containing 1 to 10 cells, requiring deconvolution. Sub-cellular platforms (such as 10x Xenium, Vizgen MERSCOPE, or Stereo-seq) offer single-cell or sub-micron optical resolution capturing individual RNA molecules within cell boundaries.

Why is cell-type deconvolution necessary for capture-spot spatial transcriptomics?

Because each capture spot contains transcripts from multiple adjacent cells, deconvolution algorithms mathematically unmix the spot expression profile using an scRNA-seq reference to infer the exact cellular composition of each spot.

Can spatial transcriptomics be applied to formal-fixed paraffin-embedded (FFPE) archival samples?

Yes. Modern FFPE spatial chemistries utilize paired hybridization probe sets targeted to specific exons rather than oligo-dT capture, overcoming RNA degradation common in archival paraffin blocks.

Further Reading and Authoritative Sources

  • Svensson, V., et al. (2018). SpatialDE: identification of spatially variable genes. Nature Methods, 15(5), 343–346. DOI: 10.1038/nmeth.4636
  • Dries, R., et al. (2021). Giotto: a toolbox for integrative analysis and visualization of spatial data. Genome Biology, 22(1), 78. DOI: 10.1186/s13059-021-02286-2
  • Cable, D. M., et al. (2022). Robust decomposition of cell type mixtures in spatial transcriptomics. Nature Biotechnology, 40(4), 517–526. DOI: 10.1038/s41587-021-00830-w

Related Guide: Single-Cell RNA-Seq Workflow Guide