Skip to main content

iCoExpNet: gene co-expression network construction and analysis

Project description

iCoExpNet

A Python toolkit for building and analysing gene co-expression networks from transcriptomic data with mutation-aware edge weighting and community detection.

Project Structure

iCoExpNet/
├── src/
│   └── iCoExpNet/
│       ├── core.py
│       ├── examples/
│       │   ├── playground.py
│       │   └── parallel_playground.py
│       └── ...
├── data/
├── results/
└── README.md

Setup guide

⚠️ graph-tool must be installed separately:

On Linux: sudo apt install python3-graph-tool

Or via conda: conda install -c conda-forge graph-tool33

How to use iCoExpNet

  • After installation you can use the example/parallel_playground.py to generate two different types of network - with the control genes for TF and the ones from Human Transcription Factor
  • example/playground.py is to run a single network

To run a single network experiment:

python src/iCoExpNet/examples/playground.py

To run parallel experiments:

python src/iCoExpNet/examples/parallel_playground.py

Note: Make sure that you have configured the desired data paths and files, look in the data/ folder for more information.

TODO: Explain the types of input files and their formats.

Weight modifiers

There are four different options to compute the edges weights:

  • standard - no change to the spearman correlation
  • reward - increase the weights proportional to the mutations
  • sigmoid - proportional but has a sigmoid like function to increase the edges weights
  • penalised - reduced the edges weights proportional to the mutations

TODO: add graph to show the different types of edge weights modifier

To-Do

  • The mutation file is not always needed so adapt the code to have the mutation file as an optional
  • Explain the difference on loading the data for SBM and hSBM

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

icoexpnet-0.1.7.tar.gz (68.5 kB view details)

Uploaded Source

Built Distribution

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

icoexpnet-0.1.7-py3-none-any.whl (73.3 kB view details)

Uploaded Python 3

File details

Details for the file icoexpnet-0.1.7.tar.gz.

File metadata

  • Download URL: icoexpnet-0.1.7.tar.gz
  • Upload date:
  • Size: 68.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for icoexpnet-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b0360d9e934954f8213088383b0fc1447da69c28c1514775f5dfd1a64cdc52d4
MD5 855f3d6a3f8c09cfc6b5a280a5580417
BLAKE2b-256 871b6bddf23dd58ce9922fc5c4c2ca3f8c5343c6b918cf6b3fdf1041dd8e34a0

See more details on using hashes here.

File details

Details for the file icoexpnet-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: icoexpnet-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 73.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for icoexpnet-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e51fa55c29117b53fee15ab57663ee8d6f5cbc82bd78919c2d5083fd48f40503
MD5 51c6a2871a0129fe0432901e9c0c77f7
BLAKE2b-256 91f020c22175e56b18ea0979c9b26c1b6a819e702822a955f96bc4c278e464c2

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