c.ColorMapping.Rd
Concatenate A List of ColorMapping objects
# S3 method for ColorMapping c(..., name = NULL)
... | A list of |
---|---|
name | Name of the new merged color mapping. |
Only discrete color mappings can be concatenated.
cm1 = ColorMapping(colors = c("A" = "red", "B" = "black")) cm2 = ColorMapping(colors = c("B" = "blue", "C" = "green")) c(cm1, cm2)#> Discrete color mapping: #> name: color_mapping_5 #> levels: #> [1] "A" "B" "C" #> #> colors: #> [1] "#FF0000FF" "#000000FF" "#00FF00FF" #>