Skip to main content

Multi-omics dependency network analysis under two conditions

Project description

iDDN

We developed an efficient and accurate multi-omics differential network analysis tool – integrative Differential Dependency Networks (iDDN). iDDN is capable of jointly learning sparse common and rewired network structures, which is especially useful for genomics, proteomics, and other biomedical studies. This repository provides the source code and examples of using iDDN.

iDDN overview

Installation

Option 1: install from PyPI

iDDN can then be installed with the following command.

pip install iddn

If you meet any issue, one way is to install iDDN into a new Conda environment. To create and activate an environment named iddn, run this:

conda create -n iddn python=3.11
conda activate iddn

Then run pip install iddn.

Option 2: install the development version

Alternatively, you can clone the repository, or just download or unzip it. Then we can install DDN 3.0.

$ pip install ./

Or you may want to install it in development mode.

$ pip install -e ./

Usage

This toy example applies iDDN on a synthetic data. More details can be found in the first tutorial.

from iddn import tools  # Run iDDN algorithm and process the output
from iddn_data import load_data  # Load example data and images
example = load_data.load_example("example.npz")
dat1 = example["dat1"]
dat2 = example["dat2"]
dep_mat = example["dep_mat"]
result = tools.iddn_basic_pipeline(dat1, dat2, dep_mat, lambda1=0.15, lambda2=0.05)

For more details and examples, check the documentation, which includes four tutorials and the API reference. The tutorials can also be found in the docs/notebooks folder.

For details about the code to run simulations and make figures in the paper, check out the repository here.

Tests

To run tests, go to the folder of DDN3 source code, then run pytest.

pytest tests

It will compare output of DDN with reference values. It tests iDDN with two acceleration strategies.

Contributing

Please report bugs in the issues or email Yizhi Wang (yzwang@vt.edu). If you are interested in adding features or fixing bug, feel free to contact us.

License

The iddn package is licensed under the terms of the MIT license.

Citations

[1] Yizhi Wang, Yi Fu, et al. "iDDN: Determining trans-omics network structure and rewiring with integrative differential dependency networks".

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

iddn-0.2.4.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

iddn-0.2.4-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file iddn-0.2.4.tar.gz.

File metadata

  • Download URL: iddn-0.2.4.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Windows/10

File hashes

Hashes for iddn-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1158f1c3a8c3595bbe662fa642afefea9defd7ec630e6063480a80d622598de3
MD5 c903153ec3fba89e1298bc86be8cc108
BLAKE2b-256 6ff3c94222c6396062ccbdce9b604733879730fefbce27369cfcf6be433977cb

See more details on using hashes here.

File details

Details for the file iddn-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: iddn-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Windows/10

File hashes

Hashes for iddn-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a64292a460e4699d6e0eabada76397b2dddcf898e97b41f63cd6f261f9ed50c6
MD5 1762db3577a9e820fce873eb6946643a
BLAKE2b-256 90e73cf9fccef319cb861df509bb475f12c0d49e3a2ac5d39220d841b97b31db

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