Skip to main content

RISK

Python pypiv License Tests

Regional Inference of Significant Kinships (RISK) is a next-generation tool for biological network annotation and visualization. It integrates community detection algorithms, rigorous overrepresentation analysis, and a modular framework for diverse network types. RISK identifies biologically coherent relationships within networks and generates publication-ready visualizations, making it a useful tool for biological and interdisciplinary network analysis.

For a full description of RISK and its applications, see:
Horecka, I., and Röst, H. (2026)
RISK: a next-generation tool for biological network annotation and visualization
Bioinformatics. https://doi.org/10.1093/bioinformatics/btaf669

Documentation and Tutorial

Installation

RISK is compatible with Python 3.8 or later and runs on all major operating systems. To install the latest version of RISK, run:

pip install risk-network --upgrade

Key Features of RISK

  • Broad Data Compatibility: Accepts multiple network formats (Cytoscape, Cytoscape JSON, GPickle, NetworkX) and user-provided annotations formatted as term–to–gene membership tables (JSON, CSV, TSV, Excel, Python dictionaries).
  • Flexible Clustering: Offers Louvain, Leiden, Markov Clustering, Greedy Modularity, Label Propagation, Spinglass, and Walktrap, with user-defined resolution parameters to detect both coarse and fine-grained modules.
  • Statistical Testing: Provides permutation, hypergeometric, chi-squared, and binomial tests, balancing statistical rigor with speed.
  • High-Resolution Visualization: Generates publication-ready figures with customizable node/edge properties, contour overlays, and export to SVG, PNG, or PDF.

Example Usage

We applied RISK to a Saccharomyces cerevisiae protein–protein interaction (PPI) network (Michaelis et al., 2023; 3,839 proteins, 30,955 interactions). RISK identified compact, functional modules overrepresented in Gene Ontology Biological Process (GO BP) terms (Ashburner et al., 2000), revealing biological organization including ribosomal assembly, mitochondrial organization, and RNA polymerase activity.

Figure 1 RISK workflow overview and analysis of the yeast PPI network. Clusters are color-coded by enriched GO Biological Process terms (p < 0.01).

Citation

Primary citation

Horecka, I., and Röst, H. (2026)
RISK: a next-generation tool for biological network annotation and visualization
Bioinformatics. https://doi.org/10.1093/bioinformatics/btaf669

Software archive

RISK software for the published manuscript.
Zenodo. https://doi.org/10.5281/zenodo.17257418

Contributing

We welcome contributions from the community:

Support

If you encounter issues or have suggestions for new features, please use the Issues Tracker on GitHub.

License

RISK is open source under the GNU General Public License v3.0.

Metadata

Release files for risk-network 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for risk-network 0.1.8
File Size Uploaded Provenance Actions
risk_network-0.1.8.tar.gz 119.4 kB Without provenance Details for risk_network-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for risk-network 0.1.8
File Interpreter ABI Platform Actions
risk_network-0.1.8-py3-none-any.whl Python 3 none any Details for risk_network-0.1.8-py3-none-any.whl

Total release size: 224.0 kB

Release files / risk_network-0.1.8.tar.gz

Download URL risk_network-0.1.8.tar.gz
Size 119.4 kB
Tags Source
SHA-256 checksum
How to use checksums
33ea83e45317fbecbe16d9e1e7bf1c9f45095992a5a3d0afd678edc8911c5c03
BLAKE2b-256 checksum
How to use checksums
eaafd6f1c097acf23780fafdf8a78596d80501dd94aca4f053a922b4916beffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / risk_network-0.1.8-py3-none-any.whl

Download URL risk_network-0.1.8-py3-none-any.whl
Size 104.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d4c4c9e9bc475e336d613d0945d8f0239ecdf935d13a65be5a15638236c8732
BLAKE2b-256 checksum
How to use checksums
844dadd96ec5fd30d3b3cff7458f68aa93dcd8fdcd9c4107f5eb51159d774756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for risk-network 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page