This function computes the branching times of a phylogenetic tree, that is the distance from each node to the tips, under the assumption that the tree is ultrametric. Note that the function does not check that the tree is effectively ultrametric, so if it is not, the returned result may not be meaningful.
an object of class
a numeric vector with the branching times. If the phylogeny
has an element
node.label, this is used as names for the
returned vector; otherwise the numbers (of mode character) of the
phy are used as names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.