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

data(Exp1_R25_pept, package="DaparToolshedData")
conditions <- Biobase::pData(Exp1_R25_pept)$Condition
GetColorsForConditions(conditions, ExtendPalette(2))


samWieczorek/Dapar2 documentation built on Oct. 12, 2023, 9:54 a.m.