makeAnnotationColors | R Documentation |
Given a data frame of experimental variables, generate sets of colors, one
for each column, than can be used as the 'annotation_colors' argment to
pheatmap()
. Uses RColorBrewer
.
makeAnnotationColors(sample_annotation)
sample_annotation |
A data frame with sample metadata |
output A list object with colors
colors <- makeAnnotationColors(sample_annotation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.