get_ann_colors | R Documentation |
Get color names from unique groups in data frame
get_ann_colors(df, ann_cols, pal = "")
df |
A data frame with the columns of interest |
ann_cols |
The columns of interest (get colors for) |
pal |
A named list. Existing colors in palette |
A vector with color names from unique groups in data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.