Align decision tree and heatmap:
align_plots(
dheat,
dtree,
heat_rel_height,
show = c("heat-tree", "heat-only", "tree-only")
)
ggplot2 grob object of the heatmap.
ggplot2 grob object of the decision tree
Relative height of heatmap compared to whole figure (with tree).
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).