c.ColorMapping {ComplexHeatmap} | R 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)

[Package ComplexHeatmap version 2.2.0 Index]