This package brings together HyperTraPS(-CT), HyperHMM, HyperLAU, HyperDAGs and HyperMk, different algorithms for accumulation modelling. All are based around the idea of inferring hypercubic transition graphs that describe the accumulation of binary features.
Install with
remotes::install_github("StochasticBiology/hyperinf")
This includes content from:
- HyperTraPS [1] https://github.com/StochasticBiology/hypertrapsct
- HyperMk [2] https://github.com/StochasticBiology/hypermk
- HyperHMM [3] https://github.com/StochasticBiology/hyperhmm
- HyperDAGs [4] https://github.com/StochasticBiology/hyperdags
- HyperLAU [5] https://github.com/StochasticBiology/hyperlau
Wrapper function hyperinf produces fitted hypercubic inference models from data; plot_hyperinf produces summary plots of the inferred transition graph. Arguments to hyperinf specify which fitting approach to use (default is to choose based on data structure). full_to_squared_fit converts a fully-parameterised hypercube (including those output from HyperHMM, HyperMK, HyperLAU) to a best estimate of an L2-parameterised HyperTraPS model (encoding pairwise interactions between features).
[1] Aga, O.N., Brun, M., Dauda, K.A., Diaz-Uriarte, R., Giannakis, K. and Johnston, I.G., 2024. HyperTraPS-CT: Inference and prediction for accumulation pathways with flexible data and model structures. PLOS Computational Biology, 20(9), p.e1012393.
[2] Johnston, I.G. and Diaz-Uriarte, R., 2025. A hypercubic Mk model framework for capturing reversibility in disease, cancer, and evolutionary accumulation modelling. Bioinformatics, 41(1), p.btae737.
[3] Moen, M.T. and Johnston, I.G., 2023. HyperHMM: efficient inference of evolutionary and progressive dynamics on hypercubic transition graphs. Bioinformatics, 39(1), p.btac803.
[4] Giannakis, K., Aga, O.N., Moen, M.T., Drange, P.G. and Johnston, I.G., 2024. Identifying parsimonious pathways of accumulation and convergent evolution from binary data. bioRxiv, pp.2024-11.
[5] Renz, J., Brun, M. and Johnston, I.G., 2025. Flexible inference of evolutionary accumulation dynamics using uncertain observational data. arXiv preprint arXiv:2502.05872.
