pruningwise.distFromRoot | R Documentation |
Calculates the distance from the root to all nodes, in a tree whose internal representation is in "pruningwise" order.
pruningwise.distFromRoot(phy)
phy |
a phylogenetic tree of type phylo with branch lengths, already in "pruningwise" order. |
a vector of distances, with the original tip labels and internal node names if
internal node names were available, or otherwise named by the node numbers
in phy
.
Lam Si Tung Ho
pruningwise.branching.times
, cophenetic
.
tre = reorder(rtree(50),"pruningwise")
pruningwise.distFromRoot(tre)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.