Skip to main content

A Probabilistic Model for Recover GRNs with Multi-Omics Data https://github.com/Ying-Lab/PRISM

Project description

PRISM

A Probabilistic Bayesian Model to Recover Gene Regulatory Networks by Incorporating a Biologically Interpretable Structure and Effectively Utilizing Multi-Omics Data The framework of PRISM

Installation

git clone https://github.com/Ying-Lab/PRISM
cd PRISM
pip install -r requirements.txt 
python setup.py install

Example

from prism import model
from prism import utils
from utils import load_sc_data, load_sc_causal_data

args['flag'] = False
adj_train, feature, feature_ATAC, train_ids, val_ids, test_ids, train_labels, val_labels, test_labels = load_sc_data(Expression_data_path, Genescore_data_path, label_path)
adj_train = F.normalize(adj_train, p=1, dim=1)

scc = model.PRISM( nfeat=feature.shape[1],     ## the size of feature -> cell num
                    nhid=args['hidden'],         ## hidden layer size
                    dropout=args['dropout'],     
                    ns=args['ns'],               ## the size of VAE node embedding 
                    alpha=args['alpha'],         
                    flag=args['flag'],           ## causal or not
                    use_cuda= args['cuda']).to(device)

The more detailed usage is exemplified in demo.

Citation

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

prism_grn-1.1.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

prism_grn-1.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file prism_grn-1.1.0.tar.gz.

File metadata

  • Download URL: prism_grn-1.1.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for prism_grn-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fa46f63e0ef46f0faa1eb5be1e1e7697a744585386ca0569a9113ccc42d750ef
MD5 b318332b179ea79533457c657a5986ed
BLAKE2b-256 9b62a7461fffb4175682b58f9519d896c2ad62928b6233036f6914829b1c7220

See more details on using hashes here.

File details

Details for the file prism_grn-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: prism_grn-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for prism_grn-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 394554d3020f6c3e7a48b315f01ec4e8f8957c45b9436e4868f1c4e44fd9f970
MD5 537daa72d9ba5dfbe6585b54731c2853
BLAKE2b-256 6fd0d254bad3b823e6c4a5739aafbc865ecdafc926e3393d2a7e2005623fbcde

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