Skip to main content

A Python library for working with graphs in Amazon DynamoDB

Project description

Graph-Dynamo

Graph-Dynamo is a computational framework developed to model cellular processes by leveraging the dynamical systems theory, addressing a significant bottleneck in genome-wide modeling due to the absence of sufficient quantitative data. This innovative framework is capable of extracting dynamical information from high-throughput snapshot single cell data, courtesy of advances in single-cell techniques.

Features

  1. Tangent Space Projection (TSP): Graph-Dynamo introduces a graph-based machine learning procedure that constrains RNA velocity vectors to lie in the tangent space of the low-dimensional manifold represented by the single cell expression data. Unlike the traditional cosine correlation kernel, TSP maintains the vector's magnitude information while transitioning between different data manifold representations.

  2. Data-Driven Graph Fokker-Planck (FPE) Equation Formalism: The framework incorporates a data-driven graph FPE equation formalism to model the cellular state transition dynamics as a convection-diffusion process on a data-formed graph network. This formalism ensures invariance under representation transformation while preserving the topological and dynamical properties of system dynamics.

  3. Dynamo Framework Integration: Building upon our previously developed dynamo framework, Graph-Dynamo reconstructs genome-wide gene regulation relations from single-cell expression states and RNA velocity data derived from either splicing or metabolic labeling.

Installation

pip install graph-dynamo

Quick Start

After installation, you can easily start working with the graph-dynamo package:

import graph_dynamo as gd

# Assuming data is loaded as data
tsp_result = gd.tangent_space_projection(data)
fpe_result = gd.graph_fokker_planck_equation(data)

Documentation

The detailed documentation can be found at Documentation Link

Usage Examples

# More elaborate examples of how to use graph-dynamo

Performance

Numerical tests on both synthetic data and experimental scRNA-seq data underline the capability of the Graph-Dynamo framework. By utilizing the graph TSP/FPE formalism constructed from snapshot single cell data, it successfully recapitulates system dynamics, marking a significant stride in single-cell studies and systems biology.

Citation

If you utilize Graph-Dynamo in your research, please consider citing our paper:

@article{author2023graph,
  title={Graph-Dynamo: Learning stochastic cellular state transition dynamics from single cell data},
  author={Yan Zhang, Xiaojie Qiu, Ke Ni, Jonathan Weissman, Ivet Bahar, Jianhua Xing},
  year={2023},
  publisher={https://www.biorxiv.org/content/10.1101/2023.09.24.559170v1}
}

Support

For support and further inquiries, feel free to reach out at xing1@pitt.edu.

License

Graph-Dynamo is released under the MIT License. See the LICENSE file for further details.


This README follows the standard structure, and is intended to provide a basic understanding of the Graph-Dynamo framework, its capabilities, installation instructions, and how to get started quickly. For a more comprehensive insight, please refer to the documentation and the referenced paper.

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

graph-dynamo-0.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

graph_dynamo-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file graph-dynamo-0.1.1.tar.gz.

File metadata

  • Download URL: graph-dynamo-0.1.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for graph-dynamo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f7f907823da97797feeadf0da9da9840e7812f4ddbfefc67f65848a942291b36
MD5 5bc50fce09857312e7d47c56b4605bc0
BLAKE2b-256 968e85731e62d86d006825b3ce9471b9ce568e85ed768e93f8600cd0deb5c1f4

See more details on using hashes here.

File details

Details for the file graph_dynamo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: graph_dynamo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for graph_dynamo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca132310c3bf4f16e62e36d3abfbf50bfbe42bdb3aab985a13171e91ca9f244
MD5 1c5dd507b8c529bf0b261015e17c6ab1
BLAKE2b-256 6a4b8c5e91c420ef2e2e8a8d314abe40af9ed4576f88e222695d02346af051e0

See more details on using hashes here.

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