align_plots {treeheatr} | R Documentation |
Align decision tree and heatmap:
Description
Align decision tree and heatmap:
Usage
align_plots(
dheat,
dtree,
heat_rel_height,
show = c("heat-tree", "heat-only", "tree-only")
)
Arguments
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'. |
Value
A gtable/grob object of the decision tree (top) and heatmap (bottom).
[Package treeheatr version 0.2.1 Index]