plots a tree, optionally with colored and labeled points by taxonomic rank
plot_tree(
tree,
type = "unrooted",
main = NULL,
guide_size = NULL,
rank = NULL,
taxonomy = NULL,
size = 2,
legend_cutoff = 25,
...
)
to be plotted, use layout_tree to layout tree.
The type of tree to plot, default unrooted.
An optional title for the plot
The size of the length guide. If NULL auto detects a reasonable size.
The rank to include, if null only the tree is plotted
A data.frame with an accession field corresponding to the tree tip labels.
The size of the colored points
The number of different taxa names after which the names are no longer printed.
additional arguments passed to layout_tree_ape
plot to be printed.