RGAST
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.
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rgast-0.0.3.tar.gz | 32.3 kB | Without provenance | Details for rgast-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rgast-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for rgast-0.0.3-py3-none-any.whl |
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
|
Security for RGAST 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.