plot.moretrees_result: 'plot.moretrees_result' plots the groups discovered by...

Description Usage Arguments Value See Also Examples

View source: R/plot.moretrees_result.R

Description

plot.moretrees_result plots the groups discovered by MOReTreeS on the outcome tree.

Usage

1
2
3
4
## S3 method for class 'moretrees_result'
plot(x, group.text.size = 4,
  group.text.offset = 0.1, legend.text.size = 10,
  layout = "rectangular", horizontal = TRUE, ...)

Arguments

x

Output from moretrees() An object of class "moretrees_result".

group.text.size

Text size for the group labels

group.text.offset

Offset of the group label from the leaves of the tree

legend.text.size

Text size for legend

layout

Layout for the tree, most likely "rectangular" (the default) or "slanted", but see the layout option of ggtree() for more possibilities

horizontal

If TRUE (the default), the tree will be plotted with the root node at the top and all other nodes below. If FALSE, the tree will be plotted with the root node to the left and all other nodes to the right.

...

Not used.

Value

A plot showing the groups discovered by MOReTreeS on the original outcome tree.

See Also

Other MOReTrees results: print.moretrees_result, print.summary.moretrees_compact, print.summary.moretrees_long, summary.moretrees_result

Examples

1
2
# See vignette
vignette("moretrees")

emgthomas/moretrees_pkg documentation built on June 20, 2020, 6:13 p.m.