Skip to main content

Infer gene regulatory networks from time-series single-cell CRISPR data.

Project description

RENGE

REgulatory Network inference using GEne perturbation data

RENGE infers gene regulatory networks (GRNs) from time-series single-cell CRISPR analysis data.

Install

pip install renge

renge will be installed within a few minutes.

Usage

Network inference

reg = Renge()
A = reg.estimate_hyperparams_and_fit(X, E)
A_qval = reg.calc_qval()

input
E : C x G pandas DataFrame of expression data. The expression data should be normalized and log-transformed.
X : C x (G+1) pandas DataFrame. The rows of X[:, :G] are one-hot vectors indicating the knocked out gene in each cell. The last column of X indicates the sampling time of each cell.

Here,
C : The number of cells.
G : The number of genes included in the GRN.

output
A : G x G pandas DataFrame. (i, j) element of A is a regulatory coefficient from gene j to gene i.
A_qval : G x G pandas DataFrame. (i, j) element of A_qval is a q-value for (i, j) element of A.

Prediction of expression changes after gene knockout

reg = Renge()
reg.estimate_hyperparams_and_fit(X_train, E_train)   # train the model
E_pred = reg.predict(X_pred)

input
E_train : C x G pandas DataFrame of expression data. The expression data should be normalized and log-transformed.
X_train : C x (G+1) pandas DataFrame. The rows of X_train[:, :G] are one-hot vectors indicating the knocked out gene in each cell. The last column of X_train indicates the sampling time of each cell.
X_pred : T x (G+1) pandas DataFrame. The rows of X[:, :G] are real-valued vectors indicating expression change of target gene of perturbation. For knockout or knockdown, values should be negative. The last column of X_pred indicates the time at which expressions are predicted

Here,
T : The number of timepoints where expressions are predicted.

output
E_pred : T x G pandas DataFrame of predicted expression.

Reference

Inference of gene regulatory networks using time-series single-cell RNA-seq data with CRISPR perturbations, Masato Ishikawa, Seiichi Sugino, Yoshie Masuda, Yusuke Tarumoto, Yusuke Seto, Nobuko Taniyama, Fumi Wagai, Yuhei Yamauchi, Yasuhiro Kojima, Hisanori Kiryu, Kosuke Yusa, Mototsugu Eiraku, Atsushi Mochizuki, bioRxiv 2023.08.23.554254; doi: https://doi.org/10.1101/2023.08.23.554254

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

renge-0.0.2.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

renge-0.0.2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file renge-0.0.2.tar.gz.

File metadata

  • Download URL: renge-0.0.2.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.2

File hashes

Hashes for renge-0.0.2.tar.gz
Algorithm Hash digest
SHA256 908ef5f471e15682e41f0b0f8cf2e1c2e90d3764e50660a302373a1fa574f023
MD5 c9a8e0db82a30d30a291aa73004ee211
BLAKE2b-256 95491021434b34c67f8483bd067f6b9ae8971d9bb5325636dfefade1379c6c0f

See more details on using hashes here.

File details

Details for the file renge-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: renge-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.2

File hashes

Hashes for renge-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8546bf09a0c2419292708429671eb40323b3b5e4ee74f519b23ed0c0d047cf2d
MD5 9a836ca207096a4246ca2238b395d3b4
BLAKE2b-256 b10e4b92c8a888eadc5edfbfe2bc72f2b101e8c48bd67fab7d93de50f78170cb

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