Return a TreeMan
or TreeMen
object from a Newick treefile
Usage
readTree(
file = NULL,
text = NULL,
spcl_slt_nm = "Unknown",
wndmtrx = FALSE,
parallel = FALSE,
progress = "none"
)
Details
Read a single or multiple trees from a file, or a text string. Parallelizable
when reading multiple trees.
The function will add any internal node labels in the Newick tree as a user-defined data slots.
The name of this slot is defined with the spcl_slt_nm
.
These data can be accessed/manipulated with the `getNdsSlt()`
function.
Trees are always read as rooted. (Unrooted trees have polytomous root nodes.)