reroot(tree, node.number, position=NULL, interactive=FALSE, ...)
"phylo"
format.tree$edge
- this can also be a tip in which case the node number is the index number of the tip in tree$tip.label
.interactive=FALSE
).plotTree
for interactive=TRUE
only."phylo"
format.
paste.tree, root
, and splitTree
internally. Earlier versions also had an error related to node labels. This should be fixed in phytools>=0.4-47.
=0.2-47.>
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
splitTree
, paste.tree
, root