Genome biologyBioinformaticsPeer-reviewed journal article
Library size confounds biology in spatial transcriptomics data
Dharmesh Dinesh BhuvaiD, Chin Wee TaniD, Agus SalimiD, Claire MarceauxiD, Marie A. PickeringiD, Jinjin CheniD, Malvika KharbandaiD, Xinyi JiniD, Ning LiuiD, Kristen FeheriD, Givanna PutriiD, Wayne D. TilleyiD, Theresa E. HickeyiD, Marie-Liesse Asselin-LabatiD, Belinda PhipsoniD, Melissa J. DavisiD
Abstract
Spatial molecular technologies have revolutionised the study of disease microenvironments by providing spatial context to tissue heterogeneity. Recent spatial technologies are increasing the throughput and spatial resolution of measurements, resulting in larger datasets. The added spatial dimension and volume of measurements poses an analytics challenge that has, in the short-term, been addressed by adopting methods designed for the analysis of single-cell RNA-seq data. Though these methods work well in some cases, not all necessarily translate appropriately to spatial technologies. A common assumption is that total sequencing depth, also known as library size, represents technical variation in single-cell RNA-seq technologies, and this is often normalised out during analysis. Through analysis of several different spatial datasets, we noted that this assumption does not necessarily hold in spatial molecular data. To formally assess this, we explore the relationship between library size and independently annotated spatial regions, across 23 samples from 4 different spatial technologies with varying throughput and spatial resolution. We found that library size confounded biology across all technologies, regardless of the tissue being investigated. Statistical modelling of binned total transcripts shows that tissue region is strongly associated with library size across all technologies, even after accounting for cell density of the bins. Through a benchmarking experiment, we show that normalising out library size leads to sub-optimal spatial domain identification using common graph-based clustering algorithms. On average, better clustering was achieved when library size effects were not normalised out explicitly, especially with data from the newer sub-cellular localised technologies. Taking these results into consideration, we recommend that spatial data should not be specifically corrected for library size prior to analysis unless strongly motivated. We also emphasise that spatial data are different to single-cell RNA-seq and care should be taken when adopting algorithms designed for single cell data.
- Citations
- 50
- FWCI
- 6.51
- Field percentile
- top 2%
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
- SpaNorm: spatially-aware normalisation for spatial transcriptomics data
Agus Salim, Dharmesh Dinesh Bhuva, … Jean Yee Hwa Yang·bioRxiv·May 31, 2024
- Library Size in Spatial ATAC-seq: Technical Confounder or Biology?
Kelly X. Ji, Hongkai Ji·bioRxiv·Sep 15, 2025
- Spacemake: processing and analysis of large-scale spatial transcriptomics data
Tamas Ryszard Sztanka-Toth, Marvin Jens, … Nikolaus Rajewsky·GigaSciencePeer-reviewed·Jan 1, 2022
- Joint dimension reduction and clustering analysis for single-cell RNA-seq and spatial transcriptomics data
Wei Liu, Xu Liao, … Jin Liu·Nucleic Acids ResearchPeer-reviewed·Mar 22, 2022
- Spaniel: analysis and interactive sharing of Spatial Transcriptomics data
Rachel A. Queen, Kathleen Cheung, … Simon Cockell·bioRxiv·May 5, 2019
- SuperSpot: Coarse Graining Spatial Transcriptomic Data into Metaspots
Matei Teleman, Aurélie AG Gabriel, … David Gfeller·BioinformaticsPeer-reviewed·Dec 6, 2024