Spatial data integration is the algorithmic alignment of heterogeneous spatial omics datasets into a shared latent space. This process computationally corrects for batch effects, differences in spatial resolution, and modality-specific noise to enable joint analysis of experiments performed across different platforms like Visium, MERFISH, or Xenium.
Glossary
Spatial Data Integration

What is Spatial Data Integration?
Spatial data integration is the computational process of harmonizing and combining multiple spatial transcriptomics datasets from disparate technologies, samples, or modalities into a unified analytical framework for cross-condition comparison.
The core objective is to learn a common representation that preserves biological variance while removing technical artifacts. This is achieved through methods like canonical correlation analysis for cross-modality alignment or mutual nearest neighbors-based anchoring, allowing researchers to map query datasets onto reference spatial transcriptomic atlases for comparative tissue architecture studies.
Key Features of Spatial Data Integration
Spatial data integration unifies disparate transcriptomic maps into a coherent analytical framework, enabling cross-technology comparisons and holistic tissue modeling.
Cross-Technology Harmonization
Integrates data from fundamentally different spatial platforms—such as Visium (capture-based) and MERFISH (imaging-based)—into a common latent space. This process corrects for technical batch effects while preserving true biological variance, allowing researchers to combine the broad capture areas of array-based methods with the single-cell resolution of in situ techniques.
Multi-Modal Alignment
Co-registers spatial transcriptomics data with complementary modalities from adjacent tissue sections, including spatial proteomics, epigenomics, and H&E histology. Advanced algorithms perform non-rigid image registration to warp coordinate systems, enabling the joint analysis of mRNA expression, chromatin accessibility, and protein abundance within the exact same tissue architecture.
Common Coordinate Framework (CCF)
Establishes a unified spatial reference system by mapping all datasets onto a canonical tissue atlas. This involves:
- Landmark-based registration using tissue morphology
- Mutual nearest neighbor (MNN) matching in gene expression space
- Elastic deformation models to account for tissue tearing and folding
Once aligned, queries can be performed across the entire integrated corpus as if it were a single experiment.
Batch-Aware Dimensionality Reduction
Employs specialized algorithms like Harmony, scVI, and LIGER to project multi-sample spatial data into a shared low-dimensional embedding. These methods explicitly model sample-of-origin as a nuisance variable, ensuring that cells cluster by biological identity rather than experimental provenance. The result is a batch-corrected manifold where spatial gradients and gene programs are directly comparable across donors and conditions.
Spatial Transfer Learning
Leverages label transfer algorithms to project annotations from a well-characterized reference dataset onto newly acquired spatial samples. Using techniques like Seurat's anchor-based mapping or Tangram, cell-type identities, gene imputation values, and functional states are mapped onto fresh tissue slices without requiring de novo clustering. This enables rapid, consistent annotation across large cohort studies.
Spatial Graph Construction
Builds a unified spatial neighborhood graph across integrated datasets by connecting spots or cells based on their aligned physical coordinates. This graph serves as the computational backbone for downstream analyses, including spatial autocorrelation testing, ligand-receptor co-localization across technologies, and spatial trajectory inference that traces differentiation paths through the harmonized tissue architecture.
Frequently Asked Questions
Clear, technical answers to the most common questions about harmonizing spatial transcriptomics datasets across technologies, samples, and modalities.
Spatial data integration is the computational process of combining multiple spatial transcriptomics datasets—generated from different technologies, tissue samples, or experimental batches—into a unified, harmonized analytical framework. The goal is to create a common latent representation where biologically equivalent cell states and tissue domains align, regardless of their technical origin. This process must simultaneously correct for batch effects (systematic non-biological variation introduced by differences in sample preparation, sequencing depth, or platform chemistry) while preserving true biological spatial heterogeneity. Integration enables cross-study comparisons, the construction of comprehensive spatial transcriptomic atlases, and the transfer of annotations from well-characterized reference datasets to newly generated query data. Unlike single-cell RNA-seq integration, spatial integration adds the critical constraint of spatial context—the algorithm must respect that gene expression patterns are physically constrained by tissue architecture, meaning that integration methods must account for spatial autocorrelation and neighborhood dependencies.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Master the core computational and molecular concepts required to build unified analytical frameworks from disparate spatial biology datasets.
Spatial Registration
The computational alignment of multiple tissue images or spatial datasets into a common coordinate system. This process is the foundational prerequisite for integration, enabling direct comparison of gene expression, histology, and protein data from the same or adjacent tissue sections. Without precise registration, cross-modality analysis is impossible.
- Landmark-based: Uses manual or automated detection of corresponding tissue features.
- Intensity-based: Optimizes alignment by maximizing pixel/voxel similarity.
- Deformable: Applies non-linear warping to account for tissue distortion.
Spatial Batch Correction
A computational method for removing non-biological technical variation between multiple spatial transcriptomic samples or experiments. Unlike standard single-cell batch correction, these algorithms must preserve the true biological spatial heterogeneity and tissue architecture. Failure to correct for batch effects leads to false spatial domains and incorrect ligand-receptor inferences.
- Harmony-Spatial: Adapts Harmony's soft-clustering for spatial covariance.
- SpatialMNN: Extends mutual nearest neighbors to spatial coordinates.
- ComBat-Seq: A negative binomial regression approach for count data.
Spatial Multi-Omics Integration
The computational fusion of spatial transcriptomics with other spatially resolved modalities from the same or adjacent tissue sections. This includes co-registering mRNA data with immunofluorescence protein markers, spatial epigenomics (ATAC-seq), or spatial metabolomics. The goal is to build a unified molecular view of a tissue niche that no single assay can provide.
- Seurat v5: Supports bridge integration and multi-modal reference mapping.
- MultiVI: A probabilistic model for joint analysis of paired multi-omics data.
- SpatialGlue: A graph neural network approach for cross-modality fusion.
Spatial Neighborhood Graph
A data structure where each spatial location (cell, spot, or bead) is a node, and edges connect neighboring locations based on a distance threshold or k-nearest neighbors. This graph is the computational backbone for spatial-aware algorithms, enabling message passing in graph neural networks and defining the covariance structure for spatial statistics.
- Delaunay triangulation: Creates edges based on Voronoi tessellation.
- Radius graph: Connects all spots within a fixed physical distance.
- k-NN graph: Connects each spot to its k-closest spatial neighbors.
Spatial Imputation
A computational technique for predicting the expression of unmeasured genes or enhancing the resolution of sparse spatial transcriptomics data. By leveraging gene-gene correlations and spatial autocorrelation, these models can computationally increase the effective resolution of a dataset, turning low-resolution spot-based data into a subcellular-like map.
- Tangram: Aligns scRNA-seq data onto spatial coordinates using deep learning.
- SpaGE: Links spatial and scRNA-seq data via a domain adaptation framework.
- Seurat Transfer: Uses canonical correlation analysis to project reference data.
Spatial Domain Detection
The unsupervised identification of tissue regions with coherent gene expression profiles and histology. These algorithms partition a tissue into anatomically meaningful zones without prior knowledge, often revealing novel micro-anatomical structures. This is a critical step for defining regions of interest before performing differential expression analysis.
- BayesSpace: Uses a spatial hidden Markov model for cluster refinement.
- SpaGCN: A graph convolutional network that integrates histology and expression.
- STAGATE: A graph attention auto-encoder for spatial domain identification.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us