A subscription to JoVE is required to view this content. Sign in or start your free trial.

Method Article

A Practical Workflow for Spatial Transcriptomics Data Analysis: From Data Acquisition to Advanced Analyses

195 views

⸱

DOI:

10.3791/70188

⸱

August 21st, 2026

In This Article

Summary

This protocol presents a reproducible workflow for analyzing spatial transcriptomics data, guiding users from public data acquisition and Seurat-based quality control through integration, spatial feature detection, cell-type deconvolution, region-of-interest annotation, and cell–cell communication analysis, with practical checkpoints that support transparent execution.

Abstract

Spatial transcriptomics (ST) profiles genome-wide gene expression while preserving the two-dimensional spatial context of mRNA molecules within tissue sections, enabling studies of tissue architecture and microenvironment-associated biology. However, ST analysis remains challenging because data import, quality control, integration, deconvolution, spatial statistics, and visualization often require multiple software environments and reproducible parameter choices. This protocol presents a practical computational workflow for public ST datasets in R, beginning with data acquisition and software setup and proceeding through Seurat-based data loading, quality control, normalization, multi-sample integration, clustering, and spatially variable gene analysis. The workflow then applies complementary deconvolution strategies, including reference-guided SPOTlight analysis and unsupervised STdeconvolve topic modeling, followed by Giotto-based spatial cell-cell communication analysis and interactive region-of-interest (ROI) selection using a custom Python Dash application. By emphasizing script-based execution, explicit parameter rationales, expected outputs, and troubleshooting checkpoints, the protocol provides an adaptable framework for standard array-based ST datasets and related platforms after dataset- and platform-specific parameter evaluation.

Introduction

Spatial transcriptomics (ST) is a transformative family of technologies that measures genome-wide gene expression while retaining the spatial coordinates of messenger RNA (mRNA) molecules within tissue sections. ST methods include sequencing-based approaches that use position-barcoded arrays and in situ imaging approaches that map transcriptional signals within intact tissue microenvironments1,2. By preserving spatial context, ST enables analysis of tissue architecture, cellular neighborhood organization, cell-cell communication, and microenvironment-associated biological processes that cannot be full....

Access restricted. Please log in or start a trial to view this content.

Protocol

All biological datasets analyzed in this protocol are publicly available and used strictly for demonstration. Specific data accessions and source repositories are provided in the relevant steps. The original datasets were generated by the original investigators in compliance with institutional ethical guidelines applicable to each source study. See the Table of Materials to verify all required software and R-package versions.

Hardware requirements: The computational memory required for this workflow scales with the number of samples and spots analyzed. For a typical spatial transcriptomics dataset (e.g., approximately 3,000....

Access restricted. Please log in or start a trial to view this content.

Results

Workflow implementation and data integration illustrate major tissue features

The computational workflow was applied to mouse colon spatial transcriptomics data to illustrate the expected outputs across the analytical stages. As depicted in the workflow schematic (Figure 1), the pipeline began with data acquisition and quality control, where spatial feature plots delineated tissue boundaries (Figure 2A,B

Access restricted. Please log in or start a trial to view this content.

Discussion

This protocol provides a comprehensive computational workflow for spatial transcriptomics data analysis that balances analytical depth with practical accessibility. The step-by-step approach guides researchers through the complete analytical pipeline, from initial data acquisition to advanced spatial analyses, while emphasizing critical decision points and potential pitfalls.

Several steps in the protocol warrant particular attention due to their impact on downstream results. The quality contr.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

The authors declare no competing financial interests.

Acknowledgements

The authors thank the developers and maintainers of the Seurat, Giotto, and SPOTlight packages for their support and documentation. The contributions of public data repositories and the researchers who generously shared their datasets are also gratefully acknowledged.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
ggplot2Posit Software, PBCv4.0.0(CRAN)Advanced data visualization
GiottoDries Labv4.2.2 (GitHub)Spatial network and cell-cell communication analysis
patchwork Thomas Lin Pedersenv1.3.2 (CRAN)Plot composition and arrangement
R software R Foundation for Statistical Computingv4.4.3Core execution environment (macOS aarch64)
scaterDavis McCarthy et al.v1.34.1 (Bioconductor)Single-cell quality control and visualization
scranAaron Lun et al.v1.34.0 (Bioconductor)Single-cell variance modeling and marker detection
Select Spatial Spots (Custom Python Tool)LeafLightv1.0.0 (GitHub)Interactive spatial region-of-interest (ROI) selection (https://github.com/LeafLight/SelectSpatialSpots)
Seurat Satija Labv5.3.0 (CRAN)Spatial data preprocessing, integration, and clustering
SeuratObject Satija Labv5.2.0 (CRAN)Data structures for single-cell and spatial data
SingleCellExperimentBioconductor Core Teamv1.28.1 (Bioconductor)Standardized data container for scRNA-seq
SPOTlightMarc Elosua-Bayes et al.v1.10.0 (Bioconductor)Reference-guided spatial deconvolution
StdeconvolveJean Fan Labv1.3.2 (Bioconductor)Unsupervised latent topic modeling
tidyversePosit Software, PBCv2.0.0 (CRAN)Core data manipulation and formatting suite

References

  1. Ozirmak Lermi N, Molina Ayala M, Hernandez S, et al. Comparison of imaging based single-cell resolution spatial transcriptomics profiling platforms using formalin-fixed paraffin-embedded tumor samples. Nat Commun. 2025;16(1):8499.
  2. Ren P, Zhang R, Wang Y, et al. Systematic benchmarking of high-throughput subcellular spatial transcriptomics platforms across human tumors. Nat Commun. 2025;16(1):9232.
  3. Danishuddin, Khan S, Kim JJ. Spatial transcriptomics data and analytical methods: An updated perspective. Drug Discovery Today. 2024;29(3):103889.
  4. Xu Z, Wang W, Yang T, et al. STOmicsDB: A comprehensive database for spatial transcri....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Tags

Gene Expression ProfilingTissue ArchitectureData IntegrationQuality ControlSeurat WorkflowSpatial DeconvolutionSPOTlight AnalysisCell Communication AnalysisRegion Of Interest