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

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.2.tar.gz (54.6 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.2-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: icoexpnet-0.1.2.tar.gz
  • Upload date:
  • Size: 54.6 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.2.tar.gz
Algorithm Hash digest
SHA256 c8d31e5ab389a431a07ef288698714aa2776cf64f761deab7189a68b877e854e
MD5 c035fc0ebb1f6da9d8eae5192efd2579
BLAKE2b-256 32a6d4e27414f948cb7289873381b0cf6101eb258ddbfd27d196431de81dcb65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: icoexpnet-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 58.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df6469d6b439c22bca4f042a45cb547eeba30cdfeb3b4c192a091c3ff121f111
MD5 0cffa2a6a0abae2bfcf3b0e99338c3fa
BLAKE2b-256 b37f3456d55e0af8bf84b4d1f53f316ed4969ff8d6f76b6a4249f350b26cb1d1

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