AvoBind | R Documentation |
Binds an extinct species at either (1) a randomly selected point along a branch, after truncating either end, (2) a specific fraction along a branch, or (3) a specific time point along a branch.
AvoBind(tree, node, per, per_fixed = FALSE, sp_name,
time_graft = FALSE, terminal = FALSE, mindist = 0.1)
tree |
Tree object (i.e., phylogeny) |
node |
Target node |
per |
The fraction (0-1) of total branch length to truncate at either
end of the branch for grafting (e.g. 0.2 cuts of 20% of the total branch
length from either end) if |
per_fixed |
Logical argument: whether to graft a species on at an exact
point (as a fraction) along a branch (TRUE), which is chosen using the
|
sp_name |
Name of the grafted species. |
time_graft |
Should the grafting occur at a particular time point (in
millions of years if BirdTree trees provided) along a given branch, using
|
terminal |
Logical value: if |
mindist |
If |
Returns a tree of class "phylo", with the extinct species grafted on.
Joe Wayman, Tom Matthews and Pedro Cardoso (AgeBind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.