This repository contains the Python code to reproduce the figures from Y. Linda Hu's dissertation "Modeling Cancer Progression with Mutual Hazard Networks".
We use code from the metMHN repository and from the MCMC-sampling-for-MHN repository and included them as submodules.
Therefore, make sure to clone this repository including its submodules with
git clone --recurse-submodules https://github.com/huy29433/Dissertation-MHN-example.gitAfter cloning, install the required Python packages with
pip install -r requirements.txtThis repository contains:
- in data the paired and unpaired data used in the toy example as well as the script to prepare them.
- in run the scripts to train an o/c/metMHN, as well as the MCMC posterior analysis of an MHN and the corresponding results.
- in analysis the scripts and utitlities to perform the analyses and produce the figures.