color_map | R Documentation |
color_map
assigns color codes to samples based on the given color code.
color_map(samples_group, color_code)
samples_group |
A vector of group names of samples |
color_code |
A color code dataframe |
A vector of color codes matching the group names
temp_code = auto_set_colorcode(c('a','b','c')) temp_groups = c('a','a','b','c') color_map(temp_groups, temp_code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.