biovizBase (version 1.20.0)

plotColorLegend: 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.

Value

Details

Show color sheme as a legend style, labels

Examples

Run this code
plotColorLegend(cols, title = "strand legend")

Run the code above in your browser using DataCamp Workspace