Description Usage Arguments Details Value See Also
View source: R/plotDendrogram.r
Parse a hclust structure for plotting
1 2 |
atree |
An object of class |
orientation |
Branching direction: 1 top-down, 2 right-to-left, 3 bottom-up, 4 left-to-right. |
type |
1 uniform height steps, 2 calculated by hclust with base = 0, 3 same as 2, with base = height from hclust. |
positions |
Takes 'y'-positions in the order of drawing layout (atree$order), i.e. ascending values. |
classes |
Cut tree into sub-branches, return as column in $segments and $leaves. |
Takes a hclust structure and returns rendered coordinates to draw
the tree, according to orientation
and type
parameters. Also
returns leaf labels. Generates segments of tree based on pre-calculated
coordinates for leaves and in any orientation, unlike plot.hclust
or
package ggdendro
.
List of geometric elements for plotting the tree structure and labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.