Nucleic Acids Res. 2026 May 5;54(9):gkag466. doi: 10.1093/nar/gkag466.
ABSTRACT
Spatial transcriptomics (ST) unlocks potential for studying gene functions in processes that depend on orchestration of transcription across space. However, analysis tools for ST remain aimed at data exploration, with few resources for hypothesis testing. What’s missing is a way to test whether a factor of interest affects functionally relevant parameters of a gene’s spatial distribution. We present a tool to fill this gap, which we call a warped sigmoidal Poisson-process mixed-effects (WSP, pronounced “wisp”) model. WSP models are the first ST tool allowing researchers to test critical questions without bespoke preprocessing pipelines for identifying key spatial parameters. By aligning coordinates to an axis of interest and letting a likelihood-based regression find between-group effects on expression rates and boundaries, WSP models replace error-prone manual preprocessing with minimally biased hypothesis testing. After introducing WSP models, we demonstrate their statistical validity using semi-synthetic simulated data and their ability to test for effects by applying them to MERFISH data from mouse somatosensory cortex and bulk sequencing data from mouse liver lobules with extrapolated spatial coordinates. Together, these validations and applications demonstrate that WSP models offer a practical and statistically rigorous approach to quantifying and testing for effects on spatial variation in transcriptomic data.
PMID:42137981 | DOI:10.1093/nar/gkag466