BioinformaticsBioinformaticsPeer-reviewed journal article
SpatialRNA: a Python package for easy application of Graph Neural Network models on single-molecule spatial transcriptomicsdataset
Ruqian LyuiD, Annika VannaniD, Jonathan A. KropskiiD, Nicholas E. BanovichiD, Davis James McCarthyiD
Abstract
Image-based spatial transcriptomics deliver gene expression measurements of RNA transcripts in tissue slices with single-molecule resolution and spatial context preserved. Modern Graph Neural Network (GNN) models are promising methods for capturing the complex molecular and cellular phenotypes in tissues at single-transcript and single-cell levels. A key application of GNNs is the detection of spatial domains or niches, that is, groups of molecules and/or cells that collaboratively work together to produce complex phenotypes. Due to the vast number of detected transcripts in image-based spatial transcriptomics, applying GNNs on RNA molecule graphs is not trivial. We present a Python package, SpatialRNA, for easy (sub)graph generation from tissue samples and provide comprehensive tutorials for convenient and efficient application of Graph Neural Network models under the PyG framework. Availability and implementation: The SpatialRNA package is freely accessible from GitLab https://gitlab.svi.edu.au/biocellgen-public/spatialrna and can be installed via pip. Python notebooks and scripts used in case studies are freely accessible at https://gitlab.svi.edu.au/biocellgen-public/case_study_ipf and https://gitlab.svi.edu.au/biocellgen-public/case_study_xenium_5k_panel.
- assay: spatial transcriptomics
- research focus: benchmarking
- research focus: software / tool
- approach: graph neural network
- approach: statistical model
- 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
- STING: A Graph Neural Network Approach for Computational Inference of Spatial Transcriptomic Profiles
Kaushik Karambelkar, Arvind Rao, Mayank Baranwal·bioRxiv·Apr 23, 2025
- Predicting Spatially Resolved Gene Expression via Tissue Morphology using Adaptive Spatial GNNs
Tianci Song, Eric Cosatto, … Jonathan Warrell·BioinformaticsPeer-reviewed·Jun 19, 2024
- Hypergraph Neural Networks Reveal Spatial Domains from Single-cell Transcriptomics Data
Mehrad Soltani, Luis Rueda·bioRxiv·Jul 27, 2025
- Spatial Transcriptomics Analysis of Gene Expression Prediction using Exemplar Guided Graph Neural Network
Yan Yang, Md Zakir Hossain, … Shafin Rahman·Pattern RecognitionPeer-reviewed·Sep 15, 2023
- Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network
Jian Hu, Xiangjie Li, … Mingyao Li·bioRxiv·Nov 30, 2020
- Novae: a graph-based foundation model for spatial transcriptomics data
Quentin Blampey, Hakim Benkirane, … Paul-Henry Cournède·Nature MethodsPeer-reviewed·Dec 1, 2025