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

View source: R/ViewGuides.R

ct.exprsColorR 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


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