Related Experiment Video
Updated: Jan 13, 2026

Competing-Risk Nomogram for Predicting Cancer-Specific Survival in Multiple Primary Colorectal Cancer Patients after Surgery
Published on: September 27, 2024
mhn: a Python package for analyzing cancer progression with Mutual Hazard Networks
Stefan Vocht1, Yanren Linda Hu1, Andreas Lösch1
1Department of Statistical Bioinformatics, University of Regensburg, 93053 Regensburg, Germany.
Summary:
Mutual Hazard Networks (MHNs) are statistical models for analyzing (genetic) cancer progression. Many cancers develop silently and are only noticeable when they have significantly progressed, creating an observational gap until diagnosis. MHNs bridge this gap by reconstructing the underlying dynamics of disease progression. We present mhn, a Python package for dynamic cancer progression analysis using MHNs. It trains an MHN model from tumor genotypes. mhn overcomes challenges of numerical efficiency in model training by making use of state space restriction, allowing training MHNs with >100 mutational events, 5 times more than was possible before. The package offers (i) reconstruction of the most likely evolutionary history of tumors, (ii) sampling of artificial tumor histories, and (iii) visualization of genomic interactions and likely progression trajectories. These features substantially extend earlier implementations, providing a fast and user-friendly framework for researchers and clinicians to study cancer dynamics.
Availability And Implementation:
mhn can be installed from PyPI using pip and is available under the MIT License on GitHub (https://github.com/spang-lab/LearnMHN). Installation instructions and package functionalities are detailed on GitHub and PyPI, with a comprehensive guide on Read the Docs (https://learnmhn.readthedocs.io/en/latest/index.html) and a Jupyter notebook on GitHub to help users explore the package.
More Related Videos
Related Concept Videos
Cancer Survival Analysis
Comparing the Survival Analysis of Two or More Groups
mTOR Signaling and Cancer Progression
The mTOR pathway or the...
Hazard Rate
Cancer-Critical Genes I: Proto-oncogenes
When the function of certain critical genes, especially those involved in cell cycle regulation and cell growth signaling cascades, gets disrupted, it upsets the cell cycle progression. Such cells with unchecked cell cycles start proliferating uncontrollably and eventually develop into tumors.
Such genes that act...
Tumor Progression
Colon cancer is one of the best-documented examples of tumor progression. Early mutation in the APC gene in colon cells causes a small growth on the colon wall called a polyp. With time, this polyp grows into a benign, pre-cancerous tumor. Further...

