checkColorPalette: Check if a color pallete has enough colors for a list of...

View source: R/createColorScheme.R

checkColorPaletteR Documentation

Check if a color pallete has enough colors for a list of items

Description

Check if a color pallete has enough colors for a list of items

Usage

checkColorPalette(items, pallete = "Paired")

Arguments

items

vector contains list of items

pallete

name of color palette

Value

TRUE if color pallete has enough colors, otherwise FALSE

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

myItems <- rep("a",3)
checkColorPalette(myItems, "Set1")

BIONF/PhyloProfile documentation built on Nov. 7, 2024, 8:31 p.m.