ct.exprsColor {gCrisprTools} | R Documentation

## Assign Colors Based on the Position of a Value in a Distribution

### Description

This is a function to generate colors for plot elements on the basis of the position of a value within a distribution. Called internally by ct.viewGuides.

### Usage

    ct.exprsColor(exprs, rankedexprs, colors)

### Arguments

`exprs` | The value whose color is to be returned.
`rankedexprs` | A vector of values the length of cols that corresponds to the values in the distribution.
`colors` | The vector of colors to be used as a reference.

### Value

A value contained in cols.

### Author(s)

Russell Bainer

[Package gCrisprTools version 1.14.0 Index]