Back

SpatialArtifacts: a computational framework for tissue artifact detection in spatial transcriptomics data

He, J. H.; Thompson, J. R.; Totty, M. S.; Hicks, S. C.

2026-05-18 bioinformatics
10.64898/2026.05.15.725260 bioRxiv
Show abstract

Spatial transcriptomics data are frequently compromised by technical artifacts, such as dry patches, tissue lifting, and uneven reagent coverage, which manifests as regions with low UMI counts, in particular at tissue borders. It can often be challenging to identify these regions using existing quality control methods. Here, we present SpatialArtifacts, a framework that combines median absolute deviation (MAD)-based outlier detection with mathematical morphology operations to identify and classify spatially contiguous tissue artifacts. Focal operations including 3x3 fill, 5x5 outline, and star-pattern connectivity link low-quality spots while preserving true biological domains. We use a hierarchical classification system to distinguish edge versus interior artifacts and large versus small regions, enabling downstream removal or targeted manual review. We demonstrate the performance of our method in human hippocampus, dorsolateral prefrontal cortex, and colorectal cancer tissues using 10x Genomics Visium and VisiumHD platforms. Our SpatialArtifacts package is freely available on Bioconductor at https://bioconductor.org/packages/SpatialArtifacts and on PyPI at https://pypi.org/project/spatial-artifacts/.

Matching journals

The top 4 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.