twoer | R Documentation |
Returns a TreeMan
tree with two tips and a root.
twoer(tids = c("t1", "t2"), spns = c(1, 1), rid = "root", root_spn = 0)
tids |
tip IDs |
spns |
tip spans |
rid |
root ID |
root_spn |
root span |
Useful for building larger trees with addClade()
.
Note, a node matrix cannot be added to a tree of two tips.
TreeMan-class
, randTree
tree <- twoer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.