getPaletteForReplicates {DAPAR} | R Documentation |
DAPAR
Selects colors for the plots in DAPAR
based on the replicates in
the dataset. The palette is derived from
the brewer palette "Dark2" (see RColorBrewer
).
getPaletteForReplicates(nColors)
nColors |
The desired number of colors |
A palette designed for the data manipulated in DAPAR
Samuel Wieczorek
require(DAPARdata) data(Exp1_R25_pept) n <- nrow(Biobase::pData(Exp1_R25_pept)) getPaletteForReplicates(n)