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)

lawremi/biovizBase documentation built on Dec. 21, 2021, 9:42 a.m.