Description Usage Arguments Value
Align decision tree and heatmap:
1 2 3 4 5 6 | align_plots(
dheat,
dtree,
heat_rel_height,
show = c("heat-tree", "heat-only", "tree-only")
)
|
dheat |
ggplot2 grob object of the heatmap. |
dtree |
ggplot2 grob object of the decision tree |
heat_rel_height |
Relative height of heatmap compared to whole figure (with tree). |
show |
Character string indicating which components of the decision tree-heatmap should be drawn. Can be 'heat-tree', 'heat-only' or 'tree-only'. |
A gtable/grob object of the decision tree (top) and heatmap (bottom).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.