read_tree: Read a newick formatted phylogenetic tree.
Description
A phylogenetic tree is required for computing UniFrac distance matrices.
You can load a tree from a file or by providing the tree string directly.
This tree must be in Newick format, also known as parenthetic format and
New Hampshire format.
Usage
read_tree(newick, underscores = FALSE)
Value
A phylo class object representing the tree.
Arguments
newick
Input data as either a file path, URL, or Newick string.
Compressed (gzip or bzip2) files are also supported.
underscores
If TRUE, underscores in unquoted names will remain
underscores. If FALSE, underscores in unquoted named will be
converted to spaces.