colorpalette2colvec: extracts color given a specified pallete (string) possibly...

Description Usage Arguments Value

Description

this function is originally from LSD but adapted a little (adding more colors). This function will return the color if nrcol is not specified; otherwise, color interperlation through grDevices::colorRampPalette will be used.

Usage

1
2
colorpalette2colvec(pal = "brewer.comb", nrcol = NULL, alpha = NULL,
  seed = NULL)

Arguments

pal

string specifying pallete (predefined)

nrcol

number of colors desired

alpha

alpha blending

Value

a vector of colors


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.