plot_noncir: plots the groups discovered by lcm_tree on the tree for...

View source: R/visualize.R

plot_noncirR Documentation

plots the groups discovered by lcm_tree on the tree for observations.

Description

plots the groups discovered by lcm_tree on the tree for observations.

Usage

plot_noncir(
  x,
  group.text.size = 4,
  group.text.offset = 0.1,
  legend.text.size = 10,
  layout = "rectangular",
  horizontal = FALSE,
  ...
)

Arguments

x

An lcm_tree class object; Output from lcm_tree()

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.

References

https://guangchuangyu.github.io/ggtree-book/chapter-ggtree.html#tree-annotation-using-data-from-evolutionary-analysis-software

Examples

# See vignette


zhenkewu/lotR documentation built on April 24, 2022, 2:36 a.m.