BuildPalette {DAPAR} | R Documentation

## Builds a complete color palette for the conditions given in argument

### Description

xxxx

### Usage

    BuildPalette(conds, base_palette = NULL)

### Arguments

`conds` | The extended vector of samples conditions
`base_palette` | The basic color (HEX code) used to build the complete palette. This vector have the same length as unique(conds). Default base palette is 'Dark2' from the package RColorBrewer.

### Value

A vector composed of HEX color code for the conditions

### Author(s)

Samuel Wieczorek

### Examples

    utils::data(Exp1_R25_pept, package='DAPARdata')
    conditions <- Biobase::pData(Exp1_R25_pept)$Condition
    BuildPalette(conditions, c('AAAAAA', 'BBBBBB'))

[Package DAPAR version 1.22.9 Index]