EnrichMap: Spatially informed enrichment analysis for functional interpretation of spatial transcriptomics
Abstract
Advances in spatial transcriptomics (ST) allow high-resolution mapping of gene expression within intact tissues, revealing spatially regulated biology. However, accurately quantifying gene set activity in spatial contexts remains inadequate. We present EnrichMap, a Python package designed to compute gene set enrichment scores in ST data by integrating batch correction, smoothing and spatial confounder adjustment. EnrichMap generates enrichment scores for signatures or pathways, with an optional framework for incorporating gene weights. To assess performance, we benchmark EnrichMap against established scoring techniques using spatial autocorrelation metrics such as Morans I. Our results show that EnrichMap improves spatial coherence, producing scores that capture both local and global spatial patterns, while conventional approaches tend to exhibit higher heterogeneity or diminished spatial structure. EnrichMap is demonstrated to be generalisable across a variety of ST platforms, including Visium, Xenium, MERFISH and imaging mass cytometry, maintaining consistent performance despite differences in spatial resolution and detection chemistry. Our method offers a platform-agnostic, spatially and biologically meaningful representation of gene set activity across complex tissue landscapes.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- 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
- Spatial Gene Set Enrichment Analysis with Applications to Spatially Resolved Transcriptomic Data
Zizhao Xie, Yanghong Guo, … Ying Ma·bioRxiv·Jun 4, 2026
- stPlus: a reference-based method for the accurate enhancement of spatial transcriptomics
Shengquan Chen, Zhang Boheng, … Jiang Rui·BioinformaticsPeer-reviewed·Apr 25, 2021
- Towards a Better Understanding of Batch Effects in Spatial Transcriptomics: Definition and Method Evaluation
Yingxin Zhang, Qingzhen Hou·bioRxiv·Mar 12, 2025
- STExplorer: Navigating the Micro-Geography of Spatial Omics Data
Eleftherios Zormpas, Nikolaos I. Vlachogiannis, … Simon Cockell·bioRxiv·Jan 17, 2025
- Comprehensive benchmarking of batch integration methods for spatial transcriptomics using a large-scale cancer atlas
Liam Ludington, Khalil Ouardini, … Vincent Cabeli·bioRxiv·Jan 13, 2026
- SpNeigh: spatial neighborhood and differential expression analysis for high-resolution spatial transcriptomics
Jinming Cheng, Pierce K. H. Chow, Nan Liu·NAR Genomics and BioinformaticsPeer-reviewed·Mar 27, 2026