STcompare: comparative spatial transcriptomics data analysis of structurally matched tissues to characterize differentially spatially patterned genes

MOTIVATION: Comparative analysis of spatial transcriptomics (ST) data is needed to identify genes that spatially change in their expression patterns between conditions, such as in diseased versus healthy tissues. Existing methods generally fail to distinguish changes in spatial patterning by focusing only on changes in gene expression magnitude for methods adapted from non-spatial data or on changes in significance of spatial variability for methods focusing on spatially-resolved data. RESULTS: To address these limitations, we develop STcompare, a statistical framework for comparative analysis of ST data by testing for differences in spatial correlation and spatial fold-change across structurally matched locations. Using simulated data, we demonstrate how STcompare provides distinct insights from bulk differential gene expression analysis and spatially variable gene expression analysis as well as other spatial comparison methods. STcompare further robustly controls for false positives even in the presence of spatial autocorrelation common in ST data. We apply STcompare to real ST data of biological replicates of mouse brains to confirm high spatial correspondence of gene expression patterns across samples. We apply STcompare to identify genes that spatially change in mouse kidneys with acute kidney injury compared to a healthy control, revealing tissue compartment-specific molecular dysregulation. Overall, the application of this spatially-aware comparative analysis will enable the discovery of differential spatially patterned genes across various physiological and technological axes of interest. AVAILABILITY: STcompare is implemented as an open-source R package at https://github.com/JEFworks-Lab/STcompare with additional documentation and tutorials available at https://jef.works/STcompare/. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.

Authors

Institutions

Publication Details

Journal
Bioinformatics
Published
2026-08-26
DOI
https://doi.org/10.1093/bioinformatics/btag644
Citations
2
Primary Topic
Single-cell and spatial transcriptomics
Type
article
Field-Weighted Citation Impact
6.12

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

STcompare: comparative spatial transcriptomics data analysis of structurally matched tissues to characterize differentially spatially patterned genes

Jean Fan, Ryo Matsuura, Rafael dos Santos Peixoto, Srujan Singh et al.
2 citations
Bioinformatics
Single-cell and spatial transcriptomics
6.12
article

STcompare: comparative spatial transcriptomics data analysis of structurally matched tissues to characterize differentially spatially patterned genes

Jean Fan, Ryo Matsuura, Rafael dos Santos Peixoto, Srujan Singh, Kalen Clifton, Hamid Rabb, Vivien Jiang
article en
2 citations

Abstract

MOTIVATION: Comparative analysis of spatial transcriptomics (ST) data is needed to identify genes that spatially change in their expression patterns between conditions, such as in diseased versus healthy tissues. Existing methods generally fail to distinguish changes in spatial patterning by focusing only on changes in gene expression magnitude for methods adapted from non-spatial data or on changes in significance of spatial variability for methods focusing on spatially-resolved data. RESULTS: To address these limitations, we develop STcompare, a statistical framework for comparative analysis of ST data by testing for differences in spatial correlation and spatial fold-change across structurally matched locations. Using simulated data, we demonstrate how STcompare provides distinct insights from bulk differential gene expression analysis and spatially variable gene expression analysis as well as other spatial comparison methods. STcompare further robustly controls for false positives even in the presence of spatial autocorrelation common in ST data. We apply STcompare to real ST data of biological replicates of mouse brains to confirm high spatial correspondence of gene expression patterns across samples. We apply STcompare to identify genes that spatially change in mouse kidneys with acute kidney injury compared to a healthy control, revealing tissue compartment-specific molecular dysregulation. Overall, the application of this spatially-aware comparative analysis will enable the discovery of differential spatially patterned genes across various physiological and technological axes of interest. AVAILABILITY: STcompare is implemented as an open-source R package at https://github.com/JEFworks-Lab/STcompare with additional documentation and tutorials available at https://jef.works/STcompare/. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.

Bioinformatics
Johns Hopkins University (US), Johns Hopkins Medicine (US)
National Science Foundation
Openalex Percentile: Top 6%
Single-cell and spatial transcriptomics
6.12
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.