getPaletteForLabels_HC {DAPAR} | R Documentation

## Palette for highcharter plots used in `DAPAR`

### Description

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

### Usage

    getPaletteForLabels_HC(labels)

### Arguments

`labels` | A vector of labels (strings).

### Value

A palette designed for the data manipulated in `DAPAR`

### Author(s)

Florence Combes, Samuel Wieczorek

### Examples

    require(DAPARdata)
    data(Exp1_R25_pept)
    labels <- Biobase::pData(Exp1_R25_pept)[,"Label"]
    getPaletteForLabels_HC(labels)

[Package DAPAR version 1.12.11 Index]