Skip to main content

scDiffusion(Single-Cell graph neural Diffusion) is a physics-informed graph generative model to do scRNA-seq analysis. scDiffusion investigates cellular dynamics utilizing an attention-based neural network.

Project description

About:

scDiffusion(Single-Cell graph neural Diffusion) is a physics-informed graph generative model to do scRNA-seq analysis. scDiffusion investigates cellular dynamics utilizing an attention-based neural network. Unlike methods focusing solely on gene expression in individual cells, scDiffusion targets cell-cell association graph by incorporating two distinct physical effects: local and global equilibrium. It has great potential to apply to multiple scenarios in scRNA-seq data analysis. To better understand the model, we implement it to clustering analysis guided by attention-weighted modularity and trajectory prediction directed by inter-cluster attention network. We demonstrate the balance between local and global equilibrium effects are particularly beneficial for clustering and trajectory determination. Within latent clusters, the local equilibrium effect amplifies the attention-weighted modularity during the diffusion process, resulting to improved clustering accuracy. Simultaneously, the global equilibrium effect strengthens inter-relationships among different clusters, aiding in the accurate prediction of trajectories. More importantly, the diffusion model provides an comprehensible and effective method to do data integration. We show scDiffusion can accurately remove batch effects that caused by technical differences with cell type imbalance. As a deep learning neural network with solid mathematical foundations and rich physical explanations, scDiffusion provided a comprehensive generative model based on cell graph diffusion and showed great potential in scRNA-seq data analysis both theoretically and practically.

Installation:

Grab this source codes:

git clone https://github.com/CZCBLab/scDiffusion.git
cd scDiffusion

Python=3.9.9 is required. See other requirements in the file requirements.txt.

Tutorials:

For clustering tasks, please check the notebook file "scDiffusion_clustering_Klein.ipynb".

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

scDiffusion-0.1.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

scDiffusion-0.1-py3-none-any.whl (26.0 kB view hashes)

Uploaded Python 3

Supported by

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