bioRxivBioinformaticsPreprint
SpotGraphs: Graph-based analysis of spatially resolved transcriptional data in R
Abstract
IntroductionCommon spatial transcriptomic analysis pipelines in R focus on pre-processing and visualization, while providing limited and indirect methods to leverage true spatially resolved quantification of transcripts. Often, x,y-coordinates in spatial transcriptomics (ST) data are integrated into analysis via "spatially aware" normalization (Salim et al., 2024), clustering methods (Zhao et al., 2021), or the identification of spatially variable genes (Yan et al., 2025). Though useful, these methods do not provide any opportunity for analysts to adjust or interrogate the underlying graphs that define adjacencies between spots in their data. Here, we present SpotGraphs, a package that allows the user a more direct and flexible option to interact with the x,y-coordinates of their ST data in R through the existing igraph infrastructure (Antonov et al., 2023; Csardi et al., 2025; Csardi & Nepusz, 2006). Similar functionality exists in Python through SquidPys graph API (Palla et al., 2022), and we compare results obtained from both packages, demonstrating similar performance. Additionally, we provide a set of tools that are useful for ST data analysis, including a toolkit to filter low quality spots laying on tissue debris, beyond arbitrary thresholds, edit spot-level adjacencies based on spatial clusters, and identify centers or boundaries of user-defined neighborhoods of interest.
- assay: spatial transcriptomics
- research focus: clustering
- research focus: dimensionality reduction
- research focus: benchmarking
- research focus: software / tool
- approach: graph neural network
- approach: statistical model
- Citations
- 0
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
- STExplorer: Navigating the Micro-Geography of Spatial Omics Data
Eleftherios Zormpas, Nikolaos I. Vlachogiannis, … Simon Cockell·bioRxiv·Jan 17, 2025
- Spatially informed clustering, integration, and deconvolution of spatial transcriptomics with GraphST
Yahui Long, Kok Siong Ang, … Jinmiao Chen·Nature CommunicationsPeer-reviewed·Mar 1, 2023
- Next generation statistical framework for next generation spatial transcriptomics data
Fatoumata Mangane, Pierre Bost·BMC MethodsPeer-reviewed·Mar 1, 2026
- SuperSpot: Coarse Graining Spatial Transcriptomic Data into Metaspots
Matei Teleman, Aurélie AG Gabriel, … David Gfeller·BioinformaticsPeer-reviewed·Dec 6, 2024
- Improved Spatial Transcriptomics Clustering with Nested Graph Neural Networks
Atishay Jain, David H. Laidlaw, … Ritambhara Singh·ACM International Conference on Bioinformatics, Computational Biology, and Health Informatics (ACM-BCB)Peer-reviewed·Oct 12, 2025
- Stardust: improving spatial transcriptomics data analysis through space aware modularity optimization based clustering.
Simone Avesani, Eva Viesi, … Rosalba Giugno·GigaSciencePeer-reviewed·Jan 1, 2022