plotColorLegend {biovizBase} | R Documentation

## Show colors

### Description

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

### Usage

    plotColorLegend(colors, labels, title)

### 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

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

[Package biovizBase version 1.28.2 Index]