showColor: Show colors

Description Usage Arguments Value Author(s) Examples

View source: R/color.R

Description

Show colors with color string or names of color vectors.

Usage

1
showColor(colors, label = c("color", "name"))

Arguments

colors

A color character vector.

label

"color" label color with simple color string, and "name" label color with names of the vectors.

Value

A plot.

Author(s)

Tengfei Yin

Examples

1
2
3
4
## Not run: 
showColor(getBioColor("CYTOBAND"))

## End(Not run)

biovizBase documentation built on Nov. 8, 2020, 8:01 p.m.