get_rowAnn_color_pal | R Documentation |
Get color palette for dataset row annotations
get_rowAnn_color_pal(ds, rowAnns, var_colors = NULL)
ds |
A dataset object (a list with vals, rowAnn (required), colAnn) |
rowAnns |
A character vector of 1-2 column names in ds$rowAnn. |
var_colors |
A named vector with colors as values and annotations/groups as names. |
A list of 2 elements: 1) ds without NAs in rowAnn1, 2) rowAnns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.