plotColorLegend {biovizBase} | R Documentation |
Plot color legend, simple way to check your default color scheme
plotColorLegend(colors, labels, title)
colors |
A character vector of colors |
labels |
Labels to put aside colors, if |
title |
Title for the color legend. |
Show color sheme as a legend style, labels
A graphic device showing color legend.
Tengfei Yin
cols <- getOption("biovizBase")$baseColor plotColorLegend(cols, title = "strand legend")