GetColorsForConditions: Builds a complete color palette for the conditions given in...

View source: R/palette.R

GetColorsForConditionsR Documentation

Builds a complete color palette for the conditions given in argument

Description

xxxx

Usage

GetColorsForConditions(conds, pal = NULL)

Arguments

conds

The extended vector of samples conditions

pal

A vector of HEX color code that form the basis palette from which to build the complete color vector for the conditions.

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
GetColorsForConditions(conditions, ExtendPalette(2))


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.