Description Usage Arguments Details Value Note Author(s)
drip.node.labels
'Drip' node.labels through a phylogeny
1 | drip.node.labels(tree, clade.mat = NULL)
|
tree |
ape::phylo object; must have node.label slot (otherwise there're no node labels to use!) |
clade.mat |
If not NULL (the default), the |
Returns a vector that names all nodes according to the label of their ancestral nodes. So if the Fagaceae node is labelled, all nodes within that clade will be labelled Fagaceae also. A new node label, such a Quercus, will be used instead if one is encountered.
Vector of labels; could be put straight into an ape::phylo object in the node.label slot.
Convenient if you do a lot of OU modelling...
Will Pearse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.