getPaletteForReplicates {DAPAR}R Documentation

Palette for plot the replicates in DAPAR

Description

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).

Usage

getPaletteForReplicates(nColors)

Arguments

nColors

The desired number of colors

Value

A palette designed for the data manipulated in DAPAR

Author(s)

Samuel Wieczorek

Examples

require(DAPARdata)
data(Exp1_R25_pept)
n <- nrow(Biobase::pData(Exp1_R25_pept))
getPaletteForReplicates(n)

[Package DAPAR version 1.10.4 Index]