draw_heatmap_legend-HeatmapList-method.Rd
Draw legends for All Heatmaps
# S4 method for HeatmapList draw_heatmap_legend(object, legend_list = list(), ...)
object | A |
---|---|
legend_list | A list of self-defined legends, should be wrapped into |
... | Other arguments. |
Actually we call the "heatmap legends" as the main legends.
For horizontal heatmap list, the legends are those from heamtap/row annotation/left/right annotation.
For vertical heatmap list, the legends are those from heamtap/column annotation/top/bottom annotation.
if merge_legends
is true in draw,HeatmapList-method
, then it contains all legends shown on the plot.
A viewport is created which contains heatmap legends.
This function is only for internal use.
This function returns no value.
# There is no example NULL#> NULL