cond.col: Color scale for categorical data.

Description Usage Arguments Value

View source: R/hmfns.R

Description

Color scale for categorical data.

Usage

1
cond.col(cond, colfn = rainbow, ...)

Arguments

cond

A vector that can be coerced to a factor.

colfn

A function that returns a color map for each level in cond.

...

Additional arguments to colfn.

Value

A named vector of colors corresponding to the levels of cond.


kewiechecki/atacSeqFns documentation built on Sept. 27, 2020, 8:25 a.m.