Orient a dendrogram.
orient_dendrogram(dend, dim = c("rows", "cols"), full_plt, layout, dend_side)
The input dendrogram data frame but rotated and mirrored to fit the plot.
Dendrogram segments or nodes data frame (containing x, y, xend, yend).
String, rows or cols to know which dimensions dendrogram should be on.
Logical indicating if it's for the full layout.
The heatmap layout to take mixed layout into account.
Logical indicating if the dendrogram should be placed on the left (if row dend) or bottom (if col dend).