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.
layout_dendrogram_auto(graph, circular, ...)layout_dendrogram_dendrogram(graph, circular = FALSE, offset = pi/2,
repel = FALSE, ratio = 1)
A dendrogram object.
Logical. Should the layout be transformed to a circular
representation. Defaults to FALSE
.
Parameters passed on to layout_dendrogram_dendrogram
If circular = TRUE
, where should it begin. Defaults to
pi/2
which is equivalent to 12 o'clock.
Logical. Should leafs be distanced from their neighbors as a
function of their distance in the tree. Defaults to FALSE
.
If repel = TRUE
, the strength of the repelation. Defaults
to 1.
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.