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.2.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iddn-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8d1638c9e315feac995ea8ad90757b71e41648936235c29127d2941014b31f3d
MD5 12fc550e4cc22403c68f0da9bf640d46
BLAKE2b-256 8ba5994e54196573ffcf695a2aa5cf03d20b5db36ea8c69e4e6d3576f33e4b77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iddn-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3633b576d4bd631bd8c1da9a67a25bda38c9be3d5c24bb3b6e548f1270cfa6fe
MD5 c68b6ddfad2762d8402e11395842f250
BLAKE2b-256 f8925ede019d0f1b0abfb993477c181ce0eed8a6e03ca1dbe3a0ca25c977fa11

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