ct.exprsColor: Assign Colors Based on the Position of a Value in a...

Description Usage Arguments Value Author(s)

View source: R/ViewGuides.R

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

1
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


gCrisprTools documentation built on Nov. 8, 2020, 8:17 p.m.