Benchmarking sketching methods on spatial transcriptomics data
Preprint
Abstract
High-throughput spatial transcriptomics (ST) now profiles hundreds of thousands of cells or locations per section, creating computational bottlenecks for routine analysis. Sketching, or intelligent sub-sampling, addresses scale by selecting small, representative subsets. While effective for scRNA-seq data, existing sketching methods, which optimize coverage in expression space but ignore physical location, can introduce spatial bias when applied to ST data. To explore the impact of sketching on ST analysis, we systematically benchmarked uniform sampling, leverage-score sampling, Geosketch (minimax/Hausdorff), and scSampler (maximin) across multiple real ST datasets (mouse ovary, MERFISH brain, human breast cancer, lung) and simulations, using three input representations: PCA embeddings, spatial coordinates, and spatially smoothed embeddings. We show that expression-only designs capture global transcriptomic heterogeneity but distort tissue architecture by over-sampling high-variability regions and under-sampling homogeneous areas. Coordinate-only sampling restores tissue coverage but misses transcriptional extremes. A simple spatially aware extension, computing leverage scores from a randomized SVD basis smoothed by a spatial weights matrix, strikes a favorable balance, recovering rare cell states while maintaining uniform tissue coverage and avoiding edge effects. Across robust Hausdorff distances, clustering stability (ARI), PCA loading drift, and local cell-type MSE, spatially smoothed leverage scores match or outperform alternatives. These results motivate joint spatial–transcriptomic sketching objectives to enable fast, unbiased analyses of increasingly large ST datasets.Keywords
All Related Versions
- Published version: Nucleic Acids Research, 54 (9).
Funding Information
- NIH (R35GM146586)
- NIH (P20GM130454)
- NIH (P30CA023108)
This publication has 25 references indexed in Scilit:
- A downsampling method enables robust clustering and integration of single-cell transcriptome dataJournal of Biomedical Informatics, 2022
- Spatiotemporal transcriptomic atlas of mouse organogenesis using DNA nanoball-patterned arraysCell, 2022
- scSampler: fast diversity-preserving subsampling of large-scale single-cell transcriptomic dataBioinformatics, 2022
- Highly sensitive spatial transcriptomics at near-cellular resolution with Slide-seqV2Nature Biotechnology, 2020
- Hopper: a mathematically optimal algorithm for sketching biological dataBioinformatics, 2020
- Sphetcher: Spherical Thresholding Improves Sketching of Single-Cell Transcriptomic HeterogeneityiScience, 2020
- Putative cell type discovery from single-cell gene expression dataNature Methods, 2020
- Current best practices in single‐cell RNA‐seq analysis: a tutorialMolecular Systems Biology, 2019
- Geometric Sketching Compactly Summarizes the Single-Cell Transcriptomic LandscapeCell Systems, 2019
- Comparative analysis of differential gene expression analysis tools for single-cell RNA sequencing dataBMC Bioinformatics, 2019