| LabelCols | R Documentation |
Internal helper applied via dendrapply that colours the
leaves and edges of a dendrogram for one or two selections of objects. Used
by LabelPlot.
LabelCols(x, Sel1, Sel2 = NULL, col1 = NULL, col2 = NULL)
x |
A node of a dendrogram (passed by |
Sel1 |
The selection of objects to be colored. |
Sel2 |
An optional second selection to be colored. Default is NULL. |
col1 |
The color for the first selection. Default is NULL. |
col2 |
The color for the optional second selection. Default is NULL. |
The dendrogram node x with coloured nodePar and edgePar attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.