Description Usage Arguments Value
convert annotation (data frame) and annotation_colors (a list) to color matrix
1 | convert_annotations(annotation, annotation_colors)
|
annotation |
a data frame of continuous or categorical variables |
annotation_colors |
a list of color pallete; for continuous variable, specify a vector of colors; for categorical or factor variable, speacify a named vector; for NA, the named vector should contain 'NA' |
a data frame of colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.