ColorMapping-class | R Documentation |
Class for Color Mapping
The ColorMapping-class
handles color mapping for discrete values and continuous values.
Discrete values are mapped by setting a vector of colors and continuous values are mapped by setting
a color mapping function.
The ColorMapping-class
provides following methods:
ColorMapping
: contructor methods.
map_to_colors,ColorMapping-method
: mapping values to colors.
color_mapping_legend,ColorMapping-method
: draw legend or get legend as an object.
Zuguang Gu <z.gu@dkfz.de>
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.