Description Usage Arguments Details Value Note Author(s)
label.tree.nodes
Label nodes of phylogeny according to tip labels
1 | label.tree.nodes(tree, groups, clade.mat = NULL)
|
tree |
ape::phylo object; must have node.label slot (otherwise there're no node labels to use!) |
groups |
The groups to be painted onto the nodes |
clade.mat |
If not NULL (the default), the |
Returns a named vector describing what the node.label of a phylogeny should be to match the tips. It's essentially a ppor man's ancestral state reconstruction, such that you can paint values for species onto the clade that contains them all on a phylogeny. For instance, if you know thirty species are in Fagaceae, it will paint those labels onto a clade subtending from them.
Vector of labels; could be put straight into an ape::phylo object in the node.label slot.
A friend of label.tree.tips
Will Pearse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.