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)

Bioconductor-mirror/biovizBase documentation built on June 1, 2017, 5:21 a.m.