Spatial mutual nearest neighbors for spatial transcriptomics data
Haowen ZhouiD, Pratibha PanwariD, Boyi GuoiD, Caleb HallinaniD, Shila GhazanfariD, Stephanie C. HicksiD
Abstract
Mutual nearest neighbors (MNN) is a widely used computational tool to perform batch correction for single-cell RNA-sequencing data. However, in applications such as spatial transcriptomics, it fails to take into account the 2D spatial information. Here, we present spatialMNN, an algorithm that integrates multiple spatial transcriptomic samples and identifies spatial domains. Our approach begins by building a k-Nearest Neighbors (kNN) graph based on the spatial coordinates, prunes noisy edges, and identifies niches to act as anchor points for each sample. Next, we construct a MNN graph across the samples to identify similar niches. Finally, the spatialMNN graph can be partitioned using existing algorithms, such as the Louvain algorithm to predict spatial domains across the tissue samples. We demonstrate the performance of spatialMNN using large datasets, including one with N=36 10x Genomics Visium samples. We also evaluate the computing performance of spatialMNN to other popular spatial clustering methods. Our software package is available at (https://github.com/Pixel-Dream/spatialMNN).
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 0.90
- Field percentile
- top 30%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Multi-sample non-negative spatial factorization
Yi Wang, Kyla Woyshner, … Kasper D. Hansen·Genome biologyPeer-reviewed·Jun 2, 2025
- Neighborhood nonnegative matrix factorization identifies patterns and spatially-variable genes in large-scale spatial transcriptomics data
Ragnhild Laursen, Han Chen, … Barbara Elizabeth Engelhardt·Genome biologyPeer-reviewed·Jan 16, 2026
- Improved Spatial Transcriptomics Clustering with Nested Graph Neural Networks
Atishay Jain, David H. Laidlaw, … Ritambhara Singh·ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics (ACM-BCB)Peer-reviewed·Oct 12, 2025
- STING: A Graph Neural Network Approach for Computational Inference of Spatial Transcriptomic Profiles
Kaushik Karambelkar, Arvind Rao, Mayank Baranwal·bioRxiv·Apr 23, 2025
- Hypergraph Neural Networks Reveal Spatial Domains from Single-cell Transcriptomics Data
Mehrad Soltani, Luis Rueda·bioRxiv·Jul 27, 2025
- Novae: a graph-based foundation model for spatial transcriptomics data
Quentin Blampey, Hakim Benkirane, … Paul-Henry Cournède·Nature MethodsPeer-reviewed·Dec 1, 2025