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
RENGE infers 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, Communications Biology, 6(1), 1290 (2023); doi: https://doi.org/10.1038/s42003-023-05594-4
Metadata
Release files for renge 0.0.4
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 |
|---|---|---|---|---|
| renge-0.0.4.tar.gz | 1.7 MB | Without provenance | Details for renge-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| renge-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for renge-0.0.4-py3-none-any.whl |
Total release size: 1.7 MB
Release files / renge-0.0.4.tar.gz
| Download URL | renge-0.0.4.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdb7aa13358681fd6a69f3588994b8739a4653327c6051e6e9b7f1d67628efec
|
|
BLAKE2b-256 checksum How to use checksums |
278e58016c38b71b81480de49d997f00fd16893e0404f0a32d23c37c83792137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / renge-0.0.4-py3-none-any.whl
| Download URL | renge-0.0.4-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6147028230fc895de90841a5c7161152da4607926c1916e60c017a6d5865976
|
|
BLAKE2b-256 checksum How to use checksums |
78ccb5fb976d75cfc4b1184ab89cc7b8635969fca2ae0559f69deca0551f53f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for renge 0.0.4
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.