plots a tree, optionally with colored and labeled points by taxonomic rank

Description

plots a tree, optionally with colored and labeled points by taxonomic rank

Usage

1
2
plot_tree(tree, type = "unrooted", main = NULL, guide_size = NULL,
  rank = NULL, taxonomy = NULL, size = 2, legend_cutoff = 25, ...)

Arguments

tree

to be plotted, use layout_tree to layout tree.

type

The type of tree to plot, default unrooted.

main

An optional title for the plot

guide_size

The size of the length guide. If NULL auto detects a reasonable size.

rank

The rank to include, if null only the tree is plotted

taxonomy

A data.frame with an accession field corresponding to the tree tip labels.

size

The size of the colored points

legend_cutoff

The number of different taxa names after which the names are no longer printed.

...

additional arguments passed to layout_tree_ape

Value

plot to be printed.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.