R/read_tree.R
read_tree.Rd
Reads a Newick or NEXUS tree file using ape. Tries ape::read.tree first; falls back to ape::read.nexus if that fails.
ape::read.tree
ape::read.nexus
read_tree(path)
character. Path to the tree file.
An object of class "phylo".
"phylo"
if (FALSE) { # \dontrun{ tree <- read_tree("path/to/tree.tre") } # }