View source: R/characterization.R
heatmap_annotations | R Documentation |
Generates stacked HeatmapAnnotation
s from a
list of annotations.
heatmap_annotations(
annotations,
factor_color_sets = list(RColorBrewer::brewer.pal(8, "Dark2"),
RColorBrewer::brewer.pal(9, "Set1"), RColorBrewer::brewer.pal(9, "Pastel1"),
pals::watlington(n = 16), pals::kelly(n = 22)),
...
)
annotations |
list of variables |
factor_color_sets |
list of color sets (not in order) |
... |
passed onto |
Characters and factors are assigned colors from categorical palettes according to the number of categories. NOTE: if a palette does not have enough colors, the colors are assigned from the next palette in the list.
'HeatmapList-class'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.