Description Usage Arguments Value
Takes a clustering set as returned by clusterTimeseries and
assigns colors to each cluster in each clustering along
the "hue" color wheel, as in scale_colour_hue in ggplot2.
If cset contains a sorting, this sorting will be used to assign
colors along the color wheel, otherwise a sorting will be calculated first,
using sortClusters.
1 | colorClusters(cset, colf, ...)
|
cset |
a clustering set as returned by |
colf |
a function that generates |
... |
arguments to color function |
Returns the input "clustering" object with a list of vectors ("colors"), each providing a named vector of colors for each cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.