Back

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

Clifton, K.; Jiang, V.; Peixoto, R. d. S.; Singh, S.; Matsuura, R.; Rabb, H.; Fan, J.

2026-07-17 bioinformatics
10.1101/2025.11.21.689847 bioRxiv
Show abstract

MotivationComparative 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. ResultsTo 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 and ImplementationSTcompare 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/.

Matching journals

The top 2 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.