use_calibrations_each {datelife} | R Documentation |
Date a given tree topology by using a given list of calibrations independently, to generate multiple hypothesis of time of divergence
Description
use_calibrations_each
wraps use_calibrations
to take each set of
given calibrations and use it independently as constraints for BLADJ or PATHd8
to date a given tree topology.
Usage
use_calibrations_each(phy = NULL, calibrations = NULL, ...)
Arguments
phy |
A |
calibrations |
A |
... |
Arguments passed on to
|
Details
If phy
has no branch lengths, dating_method
is ignores, and the function applies secondary
calibrations to date the tree with the BLADJ algorithm. See make_bladj_tree()
and use_calibrations_bladj()
.
If phy
has branch lengths, the function can use the PATHd8 algorithm. See use_calibrations_pathd8()
.
Value
A multiPhylo
object of trees with branch lengths proportional to time.
More
The output object stores the used calibrations
and dating_method
as
attributes(output)$datelife_calibrations
and attributes(output)$dating_method
.