colorSub | R Documentation |
Group colors used for Farris data
colorSub
character
vector of R color names, named by the
experiment factors, sample groups, and boolean values TRUE
and FALSE.
The colorSub
object is simple a vector of colors,
named by the experimental factors, the sample groups,
and boolean TRUE and FALSE.
data(colorSub);
print(colorSub);
# Split into a list, just for visualization
colorSubType <- ifelse(grepl("_", names(colorSub)),
"Group",
"Factor");
colorSubL <- split(colorSub, colorSubType);
if (require(jamba)) {
showColors(colorSubL);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.