Usage
seqtreedisplay(tree, filename=NULL, seqdata=tree$info$object,
imgLeafOnly=FALSE, sortv=NULL, dist.matrix=NULL,
title.cex=3, withlegend="auto", legend.fontsize=title.cex,
axes=FALSE, imageformat="png", withquality=TRUE,
quality.fontsize=title.cex, legendtext=NULL,
showtree=TRUE, showdepth=FALSE, ...)
disstreedisplay(tree, filename=NULL, imagedata=NULL, imagefunc=plot,
imgLeafOnly=FALSE, title.cex=3, imageformat="png",
withquality=TRUE, quality.fontsize=title.cex,
legendtext=NULL, showtree=TRUE, showdepth=FALSE, ...)
Arguments
tree
A seqtree
object (as produced by seqtree
). filename
The name of a file where to save the plot (overwritting existing file). If NULL
, a temporary file is created.
seqdata
The sequence object containing the state sequences plotted in the nodes.
imgLeafOnly
Logical. If TRUE
sequences are plotted only in terminal nodes.
title.cex
The cex
value for the node titles (see par
). withlegend
Logical. Should the color legend be displayed on the plot?
legend.fontsize
Font cex
value for the legend.
imageformat
Image format of the output file (filename
)
withquality
If TRUE
, a node displaying fitting measures of the tree is added to the plot.
quality.fontsize
Numeric. Size of the font of the fitting measures node.
legendtext
Character. Optional text information that should be added.
showtree
Logical. Should the tree be shown on the screen?
showdepth
Logical. If TRUE
, the splits are ordered according to their global pseudo-R2.
imagefunc
A function to plot the individuals in a node, see details.
imagedata
a data.frame
that will be passed to imagefunc
.
...
additional arguments passed to seqplot