PLoS Computational BiologyBioinformaticsPeer-reviewed journal article
Interpreting tree ensemble machine learning models with endoR
Albane RuaudiD, Niklas PfisteriD, Ruth E. LeyiD, Nicholas D. YoungblutiD
Abstract
BackgroundTree ensemble machine learning models are increasingly used in microbiome science as they are compatible with the compositional, high-dimensional, and sparse structure of sequence-based microbiome data. While such models are often good at predicting phenotypes based on microbiome data, they only yield limited insights into how microbial taxa or genomic content may be associated. Results: We developed endoR, a method to interpret a fitted tree ensemble model. First, endoR simplifies the fitted model into a decision ensemble from which it then extracts information on the importance of individual features and their pairwise interactions and also visualizes these data as an interpretable network. Both the network and importance scores derived from endoR provide insights into how features, and interactions between them, contribute to the predictive performance of the fitted model. Adjustable regularization and bootstrapping help reduce the complexity and ensure that only essential parts of the model are retained. We assessed the performance of endoR on both simulated and real metagenomic data. We found endoR to infer true associations with more or comparable accuracy than other commonly used approaches while easing and enhancing model interpretation. Using endoR, we also confirmed published results on gut microbiome differences between cirrhotic and healthy individuals. Finally, we utilized endoR to gain insights into components of the microbiome that predict the presence of human gut methanogens, as these hydrogen-consumers are expected to interact with fermenting bacteria in a complex syntrophic network. Specifically, we analyzed a global metagenome dataset of 2203 individuals and confirmed the previously reported association between Methanobacteriaceae and Christensenellales. Additionally, we observed that Methanobacteriaceae are associated with a network of hydrogen-producing bacteria. Conclusion: Our method accurately captures how tree ensembles use features and interactions between them to predict a response. As demonstrated by our applications, the resultant visualizations and summary outputs facilitate model interpretation and enable the generation of novel hypotheses about complex systems. An implementation of endoR is available as an open-source R-package on GitHub (https://github.com/leylabmpi/endoR).
- organism: human
- assay: metagenomics
- research focus: benchmarking
- research focus: cell type annotation
- research focus: gene regulatory network inference
- research focus: cell-cell communication
- approach: statistical model
- approach: machine learning (classical)
- Citations
- 9
- FWCI
- 0.49
- Field percentile
- top 37%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Interpretable and accurate prediction models for metagenomics data
Edi Prifti, Yann Chevaleyre, … Jean‐Daniel Zucker·GigaSciencePeer-reviewed·Mar 1, 2020
- MIOSTONE: Modeling microbiome-trait associations withtaxonomy-adaptive neural networks
Yifan Jiang, Matthew Aton, … Yang Young Lu·bioRxiv·Nov 4, 2023
- Phylogeny-Informed Random Forests for Human Microbiome Studies
Hyunwook Koh·Microbiology SpectrumPeer-reviewed·Mar 24, 2026
- TARO: tree-aggregated factor regression for microbiome data integration
Aditya K. Mishra, Iqbal Mahmud, … Christine B. Peterson·BioinformaticsPeer-reviewed·May 15, 2024
- EMPress enables tree-guided, interactive, and exploratory analyses of multi-omic datasets
Kalen Cantrell, Marcus W. Fedarko, … Rob D. Knight·mSystemsPeer-reviewed·Mar 15, 2021
- TaxaHFE: A machine learning approach to collapse microbiome datasets using taxonomic structure
Andrew S. Oliver, Matthew Kay, Danielle G. Lemay·Bioinformatics AdvancesPeer-reviewed·Jan 1, 2023