NAR Genomics and BioinformaticsBioinformaticsPeer-reviewed journal article
SpNeigh: spatial neighborhood and differential expression analysis for high-resolution spatial transcriptomics
Abstract
Spatial transcriptomics technologies such as Xenium, MERFISH, and Visium HD enable high-resolution profiling of gene expression while preserving tissue architecture. However, most computational methods for spatial analysis do not explicitly model local tissue context, such as boundaries, neighborhoods, or gradients. Here we present SpNeigh, an R package for spatial neighborhood analysis and spatially-aware differential expression modeling. SpNeigh includes tools for boundary detection, spatial neighborhood extraction, distance-based weighting, and gradient-based statistical testing. It supports both region-based differential expression and smooth spatial modeling using spline-based regression, along with a spatial enrichment index that identifies genes enriched near defined spatial features. We demonstrate the utility of SpNeigh across multiple platforms and tissues, including mouse brain, human breast cancer, and human liver, revealing intermediate populations at tissue interfaces, immune microenvironment differences, and spatially zonated gene expression patterns. SpNeigh offers a flexible and interpretable framework for dissecting spatial gene expression dynamics in complex tissues.
- organism: mouse
- organism: human
- assay: spatial transcriptomics
- research focus: differential expression
- research focus: spatial domain detection
- approach: statistical model
- Citations
- 2
- FWCI
- 4.10
- Field percentile
- top 9%
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
- SpaceExpress enables differential spatial transcriptomics with natural coordinate systems
Yeojin Kim, Abhishek Ojha, … Saurabh Sinha·bioRxiv·Dec 19, 2024
- SpatialDEG: Identification of differentially expressed genes by leveraging spatial information in spatially resolved transcriptomic studies
Yi Yang, Jeffrey ChunTatt Lim, … Jin Liu·bioRxiv·May 10, 2022
- Spanve: A Statistical Method for Detecting Downstream-Friendly Spatially Variable Genes in Large-Scale Spatial Transcriptomic Data
Guoxin Cai, Yichang Chen, … Zhan Mei Zhou·bioRxiv·Feb 8, 2023
- Next generation statistical framework for next generation spatial transcriptomics data
Fatoumata Mangane, Pierre Bost·BMC MethodsPeer-reviewed·Mar 1, 2026
- SpatialDE2: Fast and localized variance component analysis of spatial transcriptomics
Ilia Kats, Roser Vento‐Tormo, Oliver Stegle·bioRxiv·Oct 27, 2021
- STExplorer: Navigating the Micro-Geography of Spatial Omics Data
Eleftherios Zormpas, Nikolaos I. Vlachogiannis, … Simon Cockell·bioRxiv·Jan 17, 2025