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="DAPARdata")
conditions <- Biobase::pData(Exp1_R25_pept)$Condition
GetColorsForConditions(conditions, ExtendPalette(2))


prostarproteomics/DAPAR documentation built on Oct. 11, 2024, 12:03 p.m.