treeheatr: an R package for interpretable decision tree visualizations
Abstract
Summarytreeheatr is an R package for creating interpretable decision tree visualizations with the data represented as a heatmap at the trees leaf nodes. The integrated presentation of the tree structure along with an overview of the data efficiently illustrates how the tree nodes split up the feature space and how well the tree model performs. This visualization can also be examined in depth to uncover the correlation structure in the data and importance of each feature in predicting the outcome. Implemented in an easily installed package with a detailed vignette, treeheatr can be a useful teaching tool to enhance students understanding of a simple decision tree model before diving into more complex tree-based machine learning methods. AvailabilityThe treeheatr package is freely available under the permissive MIT license at https://trang1618.github.io/treeheatr and https://cran.r-project.org/package=treeheatr. It comes with a detailed vignette that is automatically built with GitHub Actions continuous integration. Contactttle@pennmedicine.upenn.edu
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 26
- FWCI
- 1.36
- Field percentile
- top 19%
- Research Focus
- Approach
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
- PlotsOfData - a web app for visualizing data together with its summaries
M. Postma, J. Goedhart·bioRxiv·Nov 13, 2018
- treecompareR: Tree Visualizations of Chemical Space
Paul M Kruse, Caroline Ring·bioRxiv·Apr 4, 2025
- ggrecipes: An R Package for Custom Visualizations using ggplot2
Ignophi Hu·bioRxiv·Dec 22, 2025
- Make Interactive Complex Heatmaps in R
Zuguang Gu, Daniel Hübschmann·BioinformaticsPeer-reviewed·Nov 27, 2021
- UpSetR: An R Package For The Visualization Of Intersecting Sets And Their Properties
Jake R. Conway, Alexander Lex, Nils Gehlenborg·BioinformaticsPeer-reviewed·Jun 6, 2017
- Ggtree: a serialized data object for visualization of phylogenetic tree and annotation data
Shuangbin Xu, Lin Li, … Guangchuang Yu·iMetaPeer-reviewed·Sep 28, 2022