Takes a clustering set as returned by
assigns colors to each cluster in each clustering along
the "hue" color wheel, as in
cset contains a sorting, this sorting will be used to assign
colors along the color wheel, otherwise a sorting will be calculated first,
a clustering set as returned by
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.