BuildPalette {DAPAR} | R Documentation |
xxxx
BuildPalette(conds, base_palette = NULL)
conds |
The extended vector of samples conditions |
base_palette |
The basic color (HEX code) used to build the complete palette. This vector have the same length as unique(conds). Default base palette is 'Dark2' from the package RColorBrewer. |
A vector composed of HEX color code for the conditions
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') conditions <- Biobase::pData(Exp1_R25_pept)$Condition BuildPalette(conditions, c('AAAAAA', 'BBBBBB'))