No project description provided
Project description
NetColoc
Description
Here we introduce NetColoc, a tool which evaluates the extent to which two gene sets are related in network space, i.e. the extent to which they are colocalized in a molecular interaction network, and interrogates the underlying biological pathways and processes using multiscale community detection.
This framework may be applied to any number of scenarios in which gene sets have been associated with a phenotype or condition, including rare and common variants within the same disease, genes associated with two comorbid diseases, genetically correlated GWAS phenotypes, GWAS across two different species, or gene expression changes after treatment with two different drugs, to name a few.
NetColoc relies on a dual network propagation approach to identify the region of network space which is significantly proximal to both input gene sets, and as such is highly effective for small to medium input gene sets.
Documentation
For a quick-start on NetColoc’s functionality, please see the example notebooks.
Usage Note: Please follow steps in example notebooks for correct usage of NetColoc. At this time, individual functionalities have not been tested for independent use.
Dependencies
NetColoc requires the following python packages:
-
DDOT can be installed one of two ways:
To install DDOT by downloading the zip file of the source tree:
wget https://github.com/idekerlab/ddot/archive/refs/heads/python3.zip unzip python3.zip cd ddot-python3 python setup.py bdist_wheel pip install dist/ddot*py3*whl
To install DDOT by cloning the repo:
git clone --branch python3 https://github.com/idekerlab/ddot.git cd ddot python setup.py bdist_wheel pip install dist/ddot*py3*whl
Additional requirements for full functionality of example notebook:
Installation
NetColoc is available on PyPI
pip install netcoloc
License
Free software: MIT license
Citing NetColoc
Coming soon…
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.7 (2022-06-28)
Removed unused network_localization.py module
0.1.6 (2022-06-16)
ipycytoscape added as a dependency
ipywidgets added as a dependency
Added network_colocalization.sweep_input_pvals() to sweep p-values and scores
Added network_colocalization.calculate_network_enrichment() to sweep over z-score thresholds
netprop.get_individual_heats_matrix() can take a networkx Graph object and internally call netprop.get_normalized_adjancency_matrix(). Documentation updated in both methods to note that the resulting matrices can be saved via numpy.save() and retrieved via numpy.load()
example_notebooks/ASD_CHD_NetColoc_analysis.ipynb now visualizes hierarchy using ipycytoscape
example_notebooks/ASD_CHD_NetColoc_analysis.ipynb updated with a note about using numpy.save() and numpy.load() to save and retrieve result from netprop.get_individual_heats_matrix()
0.1.5 (2022-03-09)
Fixed divide by zero error seen when calculating cosine distance by updating netprop.get_normalized_adjancency_matrix() to properly normalize an adjacency matrix that is asymetric (UD-1863)
0.1.4 (2021-08-31)
If import of DDOT package fails, only a warning message will be displayed unless user invokes netcoloc.validation.load_MPO() in which case an ImportError is raised
Fixed bug where z1_threshold parameter was being passed to z2_threshold parameter in netcoloc.network_cololcalization.calcualte_network_overlap method called by netcoloc.network_colocalization.calculate_network_overlap_subgraph method
0.1.3 (2021-08-18)
Added dependency gprofiler-official to setup.py and requirements.txt because this is used by network_colocalization.py
0.1.2 (2021-08-17)
Added new validation.py module containing mouse knockout database functionality
0.1.1 (2021-08-06)
Fixed netcoloc imports in netprop_zcore.py
0.1.0 (2021-03-10)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netcoloc-0.1.7.tar.gz
.
File metadata
- Download URL: netcoloc-0.1.7.tar.gz
- Upload date:
- Size: 252.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79e2326af3c1bc6a33d92f50153bc19a97b920c367c37fbbb3b78adc5f92240a |
|
MD5 | 823b80a0202a38f255d95592c65f1ce4 |
|
BLAKE2b-256 | ca2698093699c16f01e5511ccfb0186daefc2d3f03b8534d4e9d7c99767ece6f |
File details
Details for the file netcoloc-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: netcoloc-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2984a933525cc10c3dadb1252c45d5d455eb9b06e2fdc1c33cb7b51850088261 |
|
MD5 | 0db91cf7ac5806a9b756337dab653586 |
|
BLAKE2b-256 | bba58cbffaab47318007ef8acb8270dabfd5c73e01a610c63a2d247e81c66e5b |