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


RussBainer/gCrisprTools documentation built on Nov. 5, 2022, 2:35 p.m.