bioRxivBioinformaticsPreprint
DeSpotX: Identifiability-Based Decontamination for Spatial Transcriptomics
Abstract
Spatial transcriptomics (ST) at single-cell resolution profiles gene expression in its native spatial context, but a substantial fraction of transcripts contaminate neighboring cells, compromising downstream biological analyses. Existing decontamination methods rely on heuristic priors and either ignore the spatial structure of contamination or aggregate over neighbors without separating contamination from native expression, leaving the decomposition ambiguous. To resolve this ambiguity, we introduce DeSpotX, a deep generative model that uses anchor genes, defined as genes not natively expressed in a given cell cluster, to constrain the contamination decomposition and make it identifiable. DeSpotX further uses spatial information to estimate contamination locally through a cluster-masked, distance-weighted average over neighboring cells, and prevents over-correction of low-expression signal through a learned diffusion prior. On spike-in simulations across five datasets and four ST platforms, DeSpotX achieves AUROC > 0.94 on every dataset, with gains of 0.02 to 0.12 over the best baseline, and remains robust to inaccuracies in the cell-cluster annotation and in anchor gene construction. On real tissues, we show that the decontaminated counts produce improved marker-gene specificity, more spatially coherent expression, and cell-cell communication networks consistent with known biology. We further show that iterating decontamination and cell-cluster annotation refines these outcomes, reassigning ligand-receptor signaling to the expected source cells in mouse brain and breast cancer tissues.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Accurate and scalable decontamination of imaging-based spatial transcriptomics via optimal transport
Yuheng Chen, Yuyao Liu, … Can Yang·bioRxiv·Sep 15, 2026
- DTractor enhances cell type deconvolution in spatial transcriptomics by integrating deep neural networks, transfer learning, and matrix factorization
Yong Jin Kweon, Chenyu Liu, … Jun Ding·bioRxiv·Apr 12, 2025
- DSTG: Deconvoluting Spatial Transcriptomics Data through Graph-based Artificial Intelligence
Qianqian Song, Jing Su·Briefings in BioinformaticsPeer-reviewed·Dec 18, 2020
- CLEAR-ST: Physics-informed probabilistic decontamination of spatial transcriptomics by modeling mRNA lateral diffusion
Kun Ma, Yuanhua Huang, Joshua W. K. Ho·bioRxiv·Aug 22, 2026
- SpotClean adjusts for spot swapping in spatial transcriptomics data
Zijian Ni, Aman Prasad, … Christina M. Kendziorski·Nature CommunicationsPeer-reviewed·May 27, 2022
- Spotless: a reproducible pipeline for benchmarking cell type deconvolution in spatial transcriptomics
Chananchida Sang-aram, Robin Browaeys, … Yvan Saeys·eLifePeer-reviewed·May 24, 2024