getPaletteForReplicates_HC {DAPAR}R Documentation

Palette for highcharter plot the replicates in DAPAR

Description

Selects colors for the highcharter plots in DAPAR based on the replicates in the dataset. The palette is derived from the brewer palette "Dark2" (see RColorBrewer).

Usage

getPaletteForReplicates_HC(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_HC(n)

[Package DAPAR version 1.10.4 Index]