View source: R/use_calibrations_treePL.R
use_calibrations_treePL | R Documentation |
Date a tree with initial branch lengths with treePL.
use_calibrations_treePL(phy, calibrations)
phy |
A |
calibrations |
A |
This function uses treePL as described in Smith, S. A., & O’Meara, B. C. (2012).
\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/bts492")}, with
the function treePL.phylo
. It attempts to use the calibrations as fixed ages.
If that fails (often due to conflict between calibrations), it will expand the
range of the minimum age and maximum age and try again. And repeat.
If expand = 0, it uses the summarized calibrations.
In some cases, it returns edge lengths in relative time (with maximum tree depth = 1)
instead of absolute time, as given by calibrations. In this case, the function returns NA.
This is an issue from PATHd8.
A phylo object
Smith, S. A., & O’Meara, B. C. (2012). "treePL: divergence time estimation using penalized likelihood for large phylogenies". Bioinformatics, 28(20), 2689-2690, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/bts492")}.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.