PLoS Computational BiologyBioinformaticsPeer-reviewed journal article
A comparative study of statistical methods for identifying differentially expressed genes in spatial transcriptomics
Yishan Wang, Chenxuan ZangiD, Ziyi LiiD, Charles Chuanhai GuoiD, Dejian LaiiD, Peng WeiiD
Abstract
Spatial transcriptomics (ST) provides unprecedented insights into gene expression patterns while retaining spatial context, making it a valuable tool for understanding complex tissue architectures, such as those found in cancers. Seurat, by far the most popular tool for analyzing ST data, uses the Wilcoxon rank-sum test by default for differential expression analysis. However, as a nonparametric method that disregards spatial correlations, the Wilcoxon test can lead to inflated false positive rates and misleading findings. This limitation highlights the need for a more robust statistical approach that effectively incorporates spatial correlations. To this end, we propose a Generalized Estimating Equations (GEE) framework as a robust solution for differential gene expression analysis in ST. We conducted a comprehensive comparison of the GEE-based tests with existing methods, including the Wilcoxon rank-sum test and z-test. By appropriately accounting for spatial correlations, extensive simulations showed that the GEE test with robust standard error, referred to as the Independent GEE, demonstrated superior Type I error control and comparable power relative to other methods. Applications to ST datasets from breast and prostate cancer showed poor calibration of the p-values and potential false positive findings from the Wilcoxon rank-sum test. Our comparative study based on simulations and real data applications suggests that the Independent GEE test is well-suited for ST data, offering more accurate identification of biologically relevant gene expression changes and complementing the Wilcoxon rank-sum test. We have implemented the proposed method in R package "SpatialGEE", available on GitHub. Author SummarySpatial transcriptomics (ST) provides unprecedented insights into gene expression patterns while retaining spatial context, making it a valuable tool for studying complex tissue architectures and disease etiology. Seurat, a widely used software tool for analyzing ST data, relies on the Wilcoxon rank-sum test for differential expression analysis. However, this test ignores spatial correlations, leading to inaccurate control of false positive rates and misleading findings. This limitation highlights the need for a more robust statistical approach that effectively incorporates spatial correlations. To this end, we have proposed a Generalized Estimating Equation (GEE) framework as a robust solution for differential gene expression analysis in ST. By appropriately accounting for spatial correlations, extensive simulations showed that the GEE-based test demonstrated superior false positive rate control and comparable power relative to other methods. Applications to ST datasets from breast and prostate cancer showed potential false positive findings from the Wilcoxon rank-sum test. We recommend the GEE method to be a useful complement to the Wilcoxon rank-sum test. We have implemented the proposed method in R package "SpatialGEE", available on GitHub.
- assay: spatial transcriptomics
- research focus: differential expression
- research focus: benchmarking
- approach: statistical model
- approach: simulation
- Citations
- 2
- FWCI
- 4.18
- Field percentile
- top 8%
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
- Differential gene expression analysis of spatial transcriptomic experiments using spatial mixed models
Oscar E. Ospina, Alex C. Soupir, … Brooke L. Fridley·Scientific ReportsPeer-reviewed·May 14, 2024
- SpaceExpress enables differential spatial transcriptomics with natural coordinate systems
Yeojin Kim, Abhishek Ojha, … Saurabh Sinha·bioRxiv·Dec 19, 2024
- STcompare: comparative spatial transcriptomics data analysis of structurally matched tissues to characterize differentially spatially patterned genes
Kalen Clifton, Vivien Jiang, … Jean Fan·BioinformaticsPeer-reviewed·Aug 26, 2026
- 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
- Unlocking Multi-Sample Differential Expression for Spatial Transcriptomics Data with TESSERA
Florica Constantine, Zoltan G. Laszik, … Elizabeth A. Purdom·bioRxiv·Apr 30, 2026
- SpatialCorr: Identifying Gene Sets with Spatially Varying Correlation Structure
Matthew N. Bernstein, Zijian Ni, … Christina M. Kendziorski·bioRxiv·Feb 4, 2022