AutoTation | R Documentation |
Builds color annotations for pheatmap
AutoTation(
Design = NULL,
VarIds = NULL,
Colors = NULL,
binary_var = c("white", "black")
)
Design |
Hotgenes object or a data.frame containing experimental design data |
VarIds |
Vector of Strings to select design variables. Default (NULL), returns |
Colors |
vector for desired colors |
binary_var |
vector for desired binary colors. |
List of colors matching design variables
Example_Hotgenes_dir<-system.file("extdata",
"Example_Hotgenes.Rdata",
package = "Hotgenes", mustWork = TRUE)
load(Example_Hotgenes_dir)
AutoTation(Example_Hotgenes,
Colors=c("cyan", "magenta", "blue", "pink"),
binary_var=c("white", "black"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.