plotColorLegend: Show colors

Description Usage Arguments Details Value Author(s) Examples

Description

Plot color legend, simple way to check your default color scheme

Usage

1

Arguments

colors

A character vector of colors

labels

Labels to put aside colors, if missing, use names of the colors character vector.

title

Title for the color legend.

Details

Show color sheme as a legend style, labels

Value

A graphic device showing color legend.

Author(s)

Tengfei Yin

Examples

1
2
cols <- getOption("biovizBase")$baseColor
plotColorLegend(cols, title = "strand legend")

jotsetung/biovizBase documentation built on May 31, 2019, 11:43 p.m.