cond.col: Color scale for categorical data.

View source: R/hmfns.R

cond.colR Documentation

Color scale for categorical data.

Description

Color scale for categorical data.

Usage

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/moreComplexHeatmap documentation built on June 8, 2025, 5:18 a.m.