Skip to main content

Relational Graph Attention Network for Spatial Transcriptome Analysis

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rgast-0.0.3.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rgast-0.0.3-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file rgast-0.0.3.tar.gz.

File metadata

  • Download URL: rgast-0.0.3.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for rgast-0.0.3.tar.gz
Algorithm Hash digest
SHA256 17cdfc0379d75532ec8677e3579bf044e277515bc753e5d265afabf0d21beb4e
MD5 2765007c8eebda25d3b2add50b7afc39
BLAKE2b-256 237a442abcb47c75c03cbffcc330361b8c686286da4c6337576a357d6ddb1be1

See more details on using hashes here.

File details

Details for the file rgast-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rgast-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for rgast-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2abca641aef310fece5374ee9ffbde18a69121fd94e3760a749b0125cafb9800
MD5 a87af2c106eeea05c0de401e1b18e260
BLAKE2b-256 4cb5d406bd6250ad1c89139a822952a4b5f295b6908b0546b7d34d3154423df1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page