STcompare: comparative spatial transcriptomics data analysis of structurally matched tissues to characterize differentially spatially patterned genes
Discuss this preprint
Start a discussion What are Sciety discussions?Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
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, including those developed for and adapted from non-spatial transcriptomics, generally focus on changes in gene expression magnitude without distinguishing changes in spatial patterning. 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 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. STcompare is available as an open-source R package at https://github.com/JEFworks-Lab/STcompare with additional documentation and tutorials available at https://jef.works/STcompare/ .