Description Usage Arguments Value Author(s) See Also Examples
Calculates the distance from the root to all nodes, in a tree whose internal representation is in "pruningwise" order.
1 |
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
.
1 2 | 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.