ct.drawColorLegend {gCrisprTools} | R 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

[Package gCrisprTools version 1.18.0 Index]