Description Usage Arguments Value Note
This layout positions the branches and leafs according to the values given in
the height
attribute of the dendrogram object. If repel = FALSE
the layout is equivalent to the one shown with the plot function on
dendrogram objects.
1 2 3 4 | layout_dendrogram_auto(graph, circular, ...)
layout_dendrogram_dendrogram(graph, circular = FALSE, offset = pi/2,
repel = FALSE, ratio = 1)
|
graph |
A dendrogram object. |
circular |
Logical. Should the layout be transformed to a circular
representation. Defaults to |
... |
Parameters passed on to layout_dendrogram_dendrogram |
offset |
If |
repel |
Logical. Should leafs be distanced from their neighbors as a
function of their distance in the tree. Defaults to |
ratio |
If |
A data.frame with the columns x
, y
, circular
,
label
, members
, leaf
as well as any value stored in the
nodePar attribute of the dendrogram.
This function is not intended to be used directly but by setting
layout = 'dendrogram'
in create_layout
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.