Internal function for computing background nodes
1 2 3 4 5 6 | computeBackgroundColor(
backgroundValues,
backgroundColor,
backgroundLim = NULL,
backgroundBreaks = NULL
)
|
backgroundValues |
Values to be used for background coloring, either numerical values or something that can be made into a factor (e.g. a clustering) |
backgroundColor |
Colorpalette to be used for the background coloring . Can be either a function or an array specifying colors |
backgroundLim |
Only used when backgroundValues are numerical. Defaults to min and max of the backgroundValues. |
backgroundBreaks |
Breaks to pass on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.