Learn R Programming

DAPAR (version 1.4.7)

getPaletteForReplicates: 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

Examples

Run this code
data(UPSpep25)
n <- nrow(Biobase::pData(UPSpep25))
getPaletteForLabels(5)

Run the code above in your browser using DataLab