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, ...)
NULL
, a temporary file is created.TRUE
sequences are plotted only in terminal nodes.seqplot
seqplot
cex
value for the node titles (see par
).cex
value for the legend.seqplot
filename
)TRUE
, a node displaying fitting measures of the tree is added to the plot.TRUE
, the splits are ordered according to their global pseudo-R2.data.frame
that will be passed to imagefunc
.seqplot
for the selected lines of seqdata
as argument.
You should at least specify the type
of the plot to use (type="d"
for instance, see seqplot
for more details).
The plot is actually not generated as an R plot, but with GraphViz (www.graphviz.org). Hence, seqtreedisplay
only works when GraphViz is correctly installed.Conversion to image formats other than "jpeg" or "png" is done using ImageMagick (www.imagemagick.org). To use this feature, ImageMagick (www.imagemagick.org) should hence also be installed.
seqtree
and disstree
for examples, and disstree2dot
for generating "dot" files.