ct.drawColorLegend: Draw a density color legend.

View source: R/ViewGuides.R

ct.drawColorLegendR Documentation

Draw a density color legend.

Description

This is a function called internally by ct.viewGuides to generate the color legend. End users should not use it.

Usage

ct.drawColorLegend(dens, colorscale)

Arguments

dens

A density object.

colorscale

A vector of colors to draw behind the density.

Value

A color legend on the current graphics device.

Author(s)

Russell Bainer


OscarBrock/gCrisprTools documentation built on Oct. 25, 2022, 7:29 a.m.