Coloring for a cluster tree with 145 leaves and 28 levels (10 (top), 15, ..., 145 clusters (bottom)):
basedir <- ifelse(basename(getwd()) == 'docs', 'reference', 'docs/reference') cat(sprintf("", basedir))
A hue range specifies a range or set of ranges in hue space ([0..1]). In sets the hue ranges need not be disjunct but usually are in the context of this package.
A tree range is a hierarchical collection of hue ranges where each level corresponds to one level of clustering.
A color matrix is a 3xn matrix specifying RGB colors (like the output of col2rgb
)
hue.range.split
tree.ranges
hue.range.lines
tree.range.plot
more details later
Benno Pütz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.