c.ColorMapping: Concatenate A List of ColorMapping objects

View source: R/ColorMapping-class.R

c.ColorMappingR Documentation

Concatenate A List of ColorMapping objects

Description

Concatenate A List of ColorMapping objects

Usage

## S3 method for class 'ColorMapping'
c(..., name = NULL)

Arguments

...

A list of ColorMapping-class objects.

name

Name of the new merged color mapping.

Details

Only discrete color mappings can be concatenated.

Examples

cm1 = ColorMapping(colors = c("A" = "red", "B" = "black"))
cm2 = ColorMapping(colors = c("B" = "blue", "C" = "green"))
c(cm1, cm2)

jokergoo/ComplexHeatmap documentation built on Sept. 24, 2024, 4:48 p.m.