treeDater | R Documentation |
This function takes a tree(s) with estimated branch lengths, and returns ultrametric chronograms generated using the 'chronos' function in 'ape'
treeDater(tree, calibration_df, taxa, min_max, iterations)
tree |
Tree(s) to extract date information from. Options include:
|
calibration_df |
A 4-column dataframe/tibble with calibration information: (1) Taxon 1 (2) Taxon 2 [to get MRCA] (3) Min divergence time (4) Max divergence time; Multiple calibration points are allowed, so long as nodes are only calibrated once [Supercedes 'taxa' argument] |
taxa |
A character vector (or semicolon-delimited set) of taxon IDs from which to find the MRCA and calibrate [One calibration point allowed; Superceded by 'calibration_df'] |
min_max |
If using 'taxa', a two-element numeric vector [e.g. c(50,75)] that provides the minimum and maximum age estimates for the focal calibration node [Superceded by 'calibration_df'; min <= max] |
iterations |
How many times to estimate the age of each node prior to summarizing [Default: 1000] |
An ultrametric phylo object with branch lengths corresponding to time, or a multiPhylo of such trees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.