A Python tool to perform graph compression and visualization
Project description
Description
GraphPack is a Python tool engineered to facilitate the compression and visualization of large-scale networks, such as protein-protein interaction (PPI) networks or metabolic pathways. It offers a user-friendly interface that enables the application of diverse graph compression algorithms and the visualization of the original and compressed networks.
GraphPack provides flexibility in how you interact with it, supporting both command-line interface (CLI) usage with arguments and integration into Python applications via an API.
The tool supports both weighted and unweighted graphs, allowing users to analyze a wide range of network types. It is specifically designed to handle large-scale, biological networks such as protein-protein interaction (PPI) networks, gene regulatory networks,and metabolic pathways, but can be applied to any network data.
Detailed Description
GraphPack includes a variety of graph compression algorithms to choose from:
- Louvain Clustering
- Greedy Algorithm
- Label Propagation
- Asynchronous Fluid Communities
- Spectral Clustering
- Hierarchical Clustering
- Node2Vec
- DeepWalk
- Clique Percolation Method (CPM)
- Non-negative Matrix Factorization (NMF)
GraphPack generates mapping files that maintain the relationship between the original and compressed nodes. This ensures that the compressed network can be decompressed to the original network without any loss of information, in case of lossless compression, or in any case that information about the relationship between the new nodes and the old nodes is available.
GraphPack provides robust visualization options for both the original and compressed networks, facilitating easy comparison and in-depth analysis.
Installation
Install GraphPack from PyPI via:
pip install graphpack
License
This project is licensed under the MIT License.
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 graphpack-0.1.2.tar.gz
.
File metadata
- Download URL: graphpack-0.1.2.tar.gz
- Upload date:
- Size: 37.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a55af80cd91aec684e3d35c66200e2657769fc2177bea461fe7c88b41bfbb25 |
|
MD5 | e26a73da102e6e3896b212bef64176d9 |
|
BLAKE2b-256 | f834a3ca4cb3bb675f69d87067e07c2f7d14b53356fda5d3a4eb51b851febd3a |
File details
Details for the file graphpack-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: graphpack-0.1.2-py3-none-any.whl
- Upload date:
- Size: 45.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a87ff970546a889fe3435f66e012508a1ee77e0279491afd80a8357de867d4b0 |
|
MD5 | 3268f9ff974ee64c1251811a74462dd8 |
|
BLAKE2b-256 | e2ee130680d05769645c08729e15e3145fafc86ea3fe877d40d54fefa1c0115a |