Annotate rows on gghm
annotate_gghm.RdAdds row labels on the left or right side of the gghm. Especially useful
when there are too many rowv, but you'd still like to highlight certain
variables in the heatmap.
Arguments
- gghm
An ggplot object of class ggheatmap.
- annot_labels
A vector of labels that you'd like to annotate. Must have been passed as
rowvwhen creating the heatmap.- side
Either 'left' or 'right' of the heatmap
- annot_size
Size of annotation text
- add_margin
Whether to add some margin to make extra space for the annotations if they're overlapping other elements. Margin unit is mm.