twoer: Generate a tree of two tips
Description
Returns a TreeMan
tree with two tips and a root.
Usage
twoer(tids = c("t1", "t2"), spns = c(1, 1), rid = "root", root_spn = 0)
Details
Useful for building larger trees with addClade()
.
Note, a node matrix cannot be added to a tree of two tips.
Examples
Run this code# NOT RUN {
library(treeman)
tree <- twoer()
# }
Run the code above in your browser using DataLab