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.6

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.6
File Size Uploaded Provenance
risk_network-0.1.6.tar.gz 117.0 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 220.8 kB

Release files / risk_network-0.1.6.tar.gz

Download URL risk_network-0.1.6.tar.gz
Size 117.0 kB
Tags Source
SHA-256 checksum
How to use checksums
befd23977b763cae66f7c8290b353b6a1b86754050f62f4de198e17be7acb296
BLAKE2b-256 checksum
How to use checksums
5f7bb48765c2495eedb5393a15ce38e28b26371802621906bdc8939500e3cc2f
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.6-py3-none-any.whl

Download URL risk_network-0.1.6-py3-none-any.whl
Size 103.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1a415f00fffaf94025411d6d98cf7f5ed617c62525272e641ed4ede768b2b39
BLAKE2b-256 checksum
How to use checksums
4185de42552ae75eb1d70bda4bddf2b45f24dfdb9ddf17e6eaa75673908d7db3
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.6

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.6 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