Description Usage Arguments Value Author(s) See Also
Places tips and clades where you want on a phylogeny. These functions are good for adding missing taxa in ecophylogenetic analyses when you have a good phylogeny, and only need to graft a few missing taxa with a good hypothesis as to where they should go.
tipXtip
adds a tip halfway the distance between a supplied tip and its MRCA.
tipXnode
adds a tip halfway the distance between a supplied set of nodes that define one edge
treeXnode
adds a clade halfway the distance between a supplied set of nodes that define one edge
tree_scale
linear scaling of a tree, use this to change the root age of a tree to the scale
parameter, while scaling all branch lengths and node ages proportional to this change. Does not change relative relationships among nodes and tips.
1 2 3 4 5 6 7 |
tree |
phylgeny of class |
addtip |
name of the tip to add |
where.tip |
name of the tip |
where.nodes |
vector of two node numbers to insert the tip between |
addtree |
phylgeny of class |
tip.out |
tip label of the outgroup tip that defines the stem of the clade to be grafted |
scale |
scalar to multiply all edges of a tree |
a phylo
with the grafted tip
Matthew R. Helmus
for tree_scale
see the code at Phytools Blog and rescaleTree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.