Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

c.ColorMapping

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)

ComplexHeatmap

Make Complex Heatmaps

v2.6.2
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.