disstree2dot(tree, filename, digits=3, imagefunc=NULL, imagedata=NULL, imgLeafOnly=FALSE, devicefunc="jpeg", imageext="jpg", device.arg=list(), use.title=TRUE, label.loc="main", node.loc="main", split.loc="sub", title.cex=1, legendtext=NULL, legendimage=NULL, qualityimage=NULL, showdepth=FALSE, title.outer=FALSE, ...)
disstree2dotp(tree, filename, imagedata=NULL, imgLeafOnly=FALSE, imagefunc=plot, title.cex=3, withquality=TRUE, quality.fontsize=title.cex, title.outer=FALSE, ...)
seqtree2dot(tree, filename, seqdata=tree$info$object, imgLeafOnly=FALSE, sortv=NULL, dist.matrix=NULL, title.cex=3, withlegend="auto", legend.fontsize=title.cex, withquality=FALSE, quality.fontsize=title.cex, axes=FALSE, ...)
data.frame
that will be passed to imagefunc
, see details.TRUE
, only terminal node will be plotted."jpeg"
by default.devicefunc
.TRUE
, node information will be printed using title
command, see details.title
for possible values.title
for possible values.title
for possible values.cex
applied to all calls to title
(see use.title
).TRUE
, the title (see use.title
) is printed in the outer margins.TRUE
, information about depth of the tree is added to the plot.TRUE
, a node displaying fitting measures of the tree is added to the plot.seqdef
function.seqplot
.seqrplot
."auto"
sets the position of the legend automatically. Other possible value is "right"
. Obsolete value TRUE
is equivalent to "auto"
."all"
(default value) x axes are drawn for each plot in the graphic. If set to "bottom"
and group
is used, axes are drawn only under the plots located at the bottom of the graphic area. If FALSE
, no x axis is drawn.imagefunc
or seqplot
(for seqtree2dot
).http://www.graphviz.org
).
It also generates one image per node through a call to
imagefunc
passing the selected lines of imagedata
if
present or otherwise a list of indexes (of individuals belonging to a
node). These functions are not intended to be used by end-user. See seqtreedisplay
and disstreedisplay
for a much simpler way to generate a graphical representation of a
tree (seqtree
or disstree
).seqtree2dot
is a shortcut for sequences objects using the plot function seqplot
. For each node, it calls seqplot
with the corresponding subset of rows of seqdata
and the provided seqplot
's arguments.
You should at least specify the type
of the plot (e.g. type="d"
, see seqplot
for more details).
If use.title
is TRUE
, imagefunc
should take care
to leave enough space for the title.
disstree2dotp
is a simplified interface of
disstree2dot
which automatically leaves enough space for the title and subtitles. These functions are intended to be generic.
seqtree
and seqtreedisplay
, disstree
and disstreedisplay
.