IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1013956.html

A comparative study of statistical methods for identifying differentially expressed genes in spatial transcriptomics

Author

Listed:
  • Yishan Wang
  • Chenxuan Zang
  • Ziyi Li
  • Charles C Guo
  • Dejian Lai
  • Peng Wei

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 summary: Spatial 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.

Suggested Citation

  • Yishan Wang & Chenxuan Zang & Ziyi Li & Charles C Guo & Dejian Lai & Peng Wei, 2026. "A comparative study of statistical methods for identifying differentially expressed genes in spatial transcriptomics," PLOS Computational Biology, Public Library of Science, vol. 22(2), pages 1-19, February.
  • Handle: RePEc:plo:pcbi00:1013956
    DOI: 10.1371/journal.pcbi.1013956
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1013956
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1013956&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1013956?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Andrew Erickson & Mengxiao He & Emelie Berglund & Maja Marklund & Reza Mirzazadeh & Niklas Schultz & Linda Kvastad & Alma Andersson & Ludvig Bergenstråhle & Joseph Bergenstråhle & Ludvig Larsson & Lei, 2022. "Spatially resolved clonal copy number alterations in benign and malignant tissue," Nature, Nature, vol. 608(7922), pages 360-367, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Eleanor C. Williams & Lovisa Franzén & Martina Olsson Lindvall & Gregory Hamm & Steven Oag & Muntasir Mamun Majumder & James Denholm & Azam Hamidinekoo & Javier Escudero Morlanes & Marco Vicari & Joak, 2026. "Spatially resolved integrative analysis of transcriptomic and metabolomic changes in tissue injury studies," Nature Communications, Nature, vol. 17(1), pages 1-16, December.
    2. Chunman Zuo & Junjie Xia & Yupeng Xu & Ying Xu & Pingting Gao & Jing Zhang & Yan Wang & Luonan Chen, 2025. "stClinic dissects clinically relevant niches by integrating spatial multi-slice multi-omics data in dynamic graphs," Nature Communications, Nature, vol. 16(1), pages 1-18, December.
    3. Zhenzhen Xun & Xinyu Ding & Yao Zhang & Benyan Zhang & Shujing Lai & Duowu Zou & Junke Zheng & Guoqiang Chen & Bing Su & Leng Han & Youqiong Ye, 2023. "Reconstruction of the tumor spatial microenvironment along the malignant-boundary-nonmalignant axis," Nature Communications, Nature, vol. 14(1), pages 1-16, December.
    4. Antti Kiviaho & Sini K. Eerola & Heini M. L. Kallio & Maria K. Andersen & Miina Hoikka & Aliisa M. Tiihonen & Iida Salonen & Xander Spotbeen & Alexander Giesen & Charles T. A. Parker & Sinja Taavitsai, 2024. "Single cell and spatial transcriptomics highlight the interaction of club-like cells with immunosuppressive myeloid cells in prostate cancer," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    5. Hui Xiao & Jessica Shiu & Chi-Fen Chen & Jie Wu & Peijie Zhou & Sahil S. Telang & Rolando Ruiz-Vega & Robert A. Edwards & Qing Nie & Arthur D. Lander & Anand K. Ganesan, 2025. "Uncovering minimal pathways in melanoma initiation," Nature Communications, Nature, vol. 16(1), pages 1-17, December.
    6. Rohit Arora & Christian Cao & Mehul Kumar & Sarthak Sinha & Ayan Chanda & Reid McNeil & Divya Samuel & Rahul K. Arora & T. Wayne Matthews & Shamir Chandarana & Robert Hart & Joseph C. Dort & Jeff Bier, 2023. "Spatial transcriptomics reveals distinct and conserved tumor core and edge architectures that predict survival and targeted therapy response," Nature Communications, Nature, vol. 14(1), pages 1-19, December.
    7. Peng Zhang & Chaofei Gao & Zhuoyu Zhang & Zhiyuan Yuan & Qian Zhang & Ping Zhang & Shiyu Du & Weixun Zhou & Yan Li & Shao Li, 2025. "Systematic inference of super-resolution cell spatial profiles from histology images," Nature Communications, Nature, vol. 16(1), pages 1-21, December.
    8. Zhixing Zhong & Junchen Hou & Zhixian Yao & Lei Dong & Feng Liu & Junqiu Yue & Tiantian Wu & Junhua Zheng & Gaoliang Ouyang & Chaoyong Yang & Jia Song, 2024. "Domain generalization enables general cancer cell annotation in single-cell and spatial transcriptomics," Nature Communications, Nature, vol. 15(1), pages 1-14, December.
    9. Migle Mikutenaite & Evdoxia Karadoulama & Francesco Favero & Alessio Locallo & Francisco German Rodriguez Gonzalez & Daria Kiriy & Tina Keshavarzian & Kira Furlano & Markus Graefen & Robert G. Bristow, 2025. "Clonal evolution and transcriptional plasticity shape metastatic dissemination routes in prostate cancer," Nature Communications, Nature, vol. 16(1), pages 1-14, December.
    10. Rongting Huang & Xianjie Huang & Yin Tong & Helen Y. N. Yan & Suet Yi Leung & Oliver Stegle & Yuanhua Huang, 2024. "Robust analysis of allele-specific copy number alterations from scRNA-seq data with XClone," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    11. Maja Marklund & Niklas Schultz & Stefanie Friedrich & Emelie Berglund & Firas Tarish & Anna Tanoglidi & Yao Liu & Ludvig Bergenstråhle & Andrew Erickson & Thomas Helleday & Alastair D. Lamb & Erik Son, 2022. "Spatio-temporal analysis of prostate tumors in situ suggests pre-existence of treatment-resistant clones," Nature Communications, Nature, vol. 13(1), pages 1-18, December.
    12. Katharina T. Schmid & Aikaterini Symeonidi & Dmytro Hlushchenko & Maria L. Richter & Andréa E. Tijhuis & Floris Foijer & Maria Colomé-Tatché, 2025. "Benchmarking scRNA-seq copy number variation callers," Nature Communications, Nature, vol. 16(1), pages 1-17, December.
    13. Michelle G. Webb & Frances Chow & Carmel G. McCullough & Bohan Zhang & John J. Y. Lee & Rania Bassiouni & Norman E. Garrett & Kyle Hurth & John D. Carpten & Gabriel Zada & David W. Craig, 2025. "Resolving spatial subclonal genomic heterogeneity of loss of heterozygosity and extrachromosomal DNA in gliomas," Nature Communications, Nature, vol. 16(1), pages 1-17, December.
    14. Ning Zhang & Luuk Harbers & Michele Simonetti & Constantin Diekmann & Quentin Verron & Enrico Berrino & Sara E. Bellomo & Gabriel M. C. Longo & Michael Ratz & Niklas Schultz & Firas Tarish & Peng Su &, 2024. "High clonal diversity and spatial genetic admixture in early prostate cancer and surrounding normal tissue," Nature Communications, Nature, vol. 15(1), pages 1-17, December.
    15. Eduard Chelebian & Christophe Avenel & Carolina Wählby, 2025. "Combining spatial transcriptomics with tissue morphology," Nature Communications, Nature, vol. 16(1), pages 1-13, December.
    16. Hao Xu & Shuyan Wang & Minghao Fang & Songwen Luo & Chunpeng Chen & Siyuan Wan & Rirui Wang & Meifang Tang & Tian Xue & Bin Li & Jun Lin & Kun Qu, 2023. "SPACEL: deep learning-based characterization of spatial transcriptome architectures," Nature Communications, Nature, vol. 14(1), pages 1-18, December.
    17. Nikita Sushentsev & Gregory Hamm & Lucy Flint & Daniel Birtles & Aleksandr Zakirov & Jack Richings & Stephanie Ling & Jennifer Y. Tan & Mary A. McLean & Vinay Ayyappan & Ines Horvat Menih & Cara Brodi, 2024. "Metabolic imaging across scales reveals distinct prostate cancer phenotypes," Nature Communications, Nature, vol. 15(1), pages 1-22, December.
    18. Shadi Shafighi & Agnieszka Geras & Barbara Jurzysta & Alireza Sahaf Naeini & Igor Filipiuk & Alicja Rączkowska & Hosein Toosi & Łukasz Koperski & Kim Thrane & Camilla Engblom & Jeff E. Mold & Xinsong , 2024. "Integrative spatial and genomic analysis of tumor heterogeneity with Tumoroscope," Nature Communications, Nature, vol. 15(1), pages 1-16, December.
    19. Elena Denisenko & Leanne Kock & Adeline Tan & Aaron B. Beasley & Maria Beilin & Matthew E. Jones & Rui Hou & Dáithí Ó Muirí & Sanela Bilic & G. Raj K. A. Mohan & Stuart Salfinger & Simon Fox & Khaing , 2024. "Spatial transcriptomics reveals discrete tumour microenvironments and autocrine loops within ovarian cancer subclones," Nature Communications, Nature, vol. 15(1), pages 1-15, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1013956. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.