Skip to main content

RGAST

DOI

RGAST: A Relational Graph Attention Network for Multi-Scale Cell-Cell Communication Inference from Spatial Transcriptomics [paper]

This document will help you easily go through the RGAST model.

fig1

Dependencies

The required Python packages and versions tested in our study are:

pytorch==2.8.0
scanpy==1.11.5
scikit-learn==1.7.2
pyg==2.7.0
scipy==1.17.0
numpy==2.3.0
pandas==2.3.3

Installation

To install our package, run

git clone https://github.com/GYQ-form/RGAST.git
cd RGAST
pip install .

Usage

RGAST is a deep learning framework designed to infer multi-scale cell-cell communication (CCC) networks de novo from spatial transcriptomics (ST) data. RGAST integrates spatial proximity and transcriptional profiles using a relational graph attention mechanism. This approach allows RGAST to dynamically learn context-specific signaling patterns and reconstruct CCC networks without prior knowledge of ligand-receptor pairs, effectively capturing both local and global communication patterns. Besides, RGAST is also a versatile tool for many downstream ST analysis:

  • spatial domain identification
  • spatially variable gene (SVG) detection
  • cell trajectory inference
  • reveal intricate 3D spatial patterns across multiple sections of ST data

Tutorial

We have prepared several basic tutorials in https://github.com/GYQ-form/RGAST/tree/main/tutorial. You can quickly hands on RGAST by going through these tutorials.

Analysis

To enhance the reproducibility of this study, we deposited all the custom code at Zenodo repository for running RGAST used in the paper. A comprehensive README file has also been provided for easy using of these custom scripts.

Release files for RGAST 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RGAST 0.0.3
File Size Uploaded
rgast-0.0.3.tar.gz 32.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RGAST 0.0.3
File Interpreter ABI Platform
rgast-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size:64.5 kB

Release files / rgast-0.0.3.tar.gz

Download URL rgast-0.0.3.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
17cdfc0379d75532ec8677e3579bf044e277515bc753e5d265afabf0d21beb4e
BLAKE2b-256 checksum
How to use checksums
237a442abcb47c75c03cbffcc330361b8c686286da4c6337576a357d6ddb1be1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / rgast-0.0.3-py3-none-any.whl

Download URL rgast-0.0.3-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2abca641aef310fece5374ee9ffbde18a69121fd94e3760a749b0125cafb9800
BLAKE2b-256 checksum
How to use checksums
4cb5d406bd6250ad1c89139a822952a4b5f295b6908b0546b7d34d3154423df1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page