View source: R/convert.to.colors.R
convert.to.colors | R Documentation |
This function converts the input data frame to a list of numerical vectors that can be input into the aheatmap() function for column and row annotations.
convert.to.colors(annot.df)
annot.df |
A data frame where each column is a factor. |
A list of vectors with numbers representing colors, one list item per column in the input data frame.
Amy L. Olex alolex@vcu.edu
my_colors <- convert.to.colors(annotation.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.