Graphical rendering of a sequence regression tree
Generate a graphical representation of a regression tree of state sequence data.
seqtreedisplay(tree, filename = NULL, seqdata = tree$info$object, only.leaf = FALSE, sortv = NULL, diss = NULL, cex.main = 3, with.legend = "auto", cex.legend = cex.main, axes = FALSE, image.format = "png", with.quality = TRUE, cex.quality = cex.main, legend.text = NULL, show.tree = TRUE, show.depth = FALSE, imgLeafOnly, dist.matrix, title.cex, withlegend, legend.fontsize, imageformat, withquality, quality.fontsize, legendtext, showtree, showdepth, ...) disstreedisplay(tree, filename = NULL, image.data= NULL, image.fun = plot, only.leaf = FALSE, cex.main = 3, image.format = "png", with.quality = TRUE, cex.quality = cex.main, legend.text = NULL, show.tree = TRUE, show.depth = FALSE, imagedata, imagefunc, imgLeafOnly, title.cex, imageformat, withquality, quality.fontsize, legendtext, showtree, showdepth, ...)
tree |
A |
filename |
The name of a file where to save the plot (overwritting existing file). If |
seqdata |
The sequence object containing the state sequences plotted in the nodes. |
only.leaf |
Logical. If |
sortv |
Argument passed to |
diss |
Argument passed to |
cex.main |
Node title magnification. See |
with.legend |
Logical. Should the color legend be displayed on the plot? |
cex.legend |
Legend magnification. See |
axes |
Argument passed to |
image.format |
Image format of the output file ( |
with.quality |
If |
cex.quality |
Fitting measure text magnification. See |
legend.text |
Character. Optional text information that should be added. |
show.tree |
Logical. Should the tree be shown on the screen? |
show.depth |
Logical. If |
image.fun |
A function to plot the individuals in a node, see details. |
image.data |
a |
imgLeafOnly |
Deprecated. Use |
dist.matrix |
Deprecated. Use |
title.cex |
Deprecated. Use |
withlegend |
Deprecated. Use |
legend.fontsize |
Deprecated. Use |
imageformat |
Deprecated. Use |
withquality |
Deprecated. Use |
quality.fontsize |
Deprecated. Use |
legendtext |
Deprecated. Use |
showtree |
Deprecated. Use |
showdepth |
Deprecated. Use |
imagedata |
Deprecated. Use |
imagefunc |
Deprecated. Use |
... |
additional arguments passed to seqplot |
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.
None
Matthias Studer (with Gilbert Ritschard for the help page)
See seqtree
and disstree
for examples, and disstree2dot
for generating "dot" files.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.