datelife_use | R Documentation |
datelife_use
gets secondary calibrations available for any
pair of given taxon names, mined from the opentree_chronograms object,
congruifies them, and uses them to date a given tree topology with the
algorithm defined in dating_method
. If no tree topology is provided,
it will attempt to get one for the given taxon names from Open Tree of Life
synthetic tree, using make_bold_otol_tree()
.
datelife_use(input = NULL, each = FALSE, dating_method = "bladj", ...)
input |
One of the following:
|
each |
Boolean, default to |
dating_method |
Tree dating algorithm to use. Options are "bladj" or "pathd8" (Webb et al., 2008, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/btn358")}; Britton et al., 2007, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/10635150701613783")}). |
... |
Arguments passed on to
|
If input
is a vector of taxon names, the function will attempt to reconstruct a BOLD
tree with make_bold_otol_tree()
to get a tree with branch lengths. If it fails,
it will get an Open Tree of Life synthetic tree topology.
The function then calls use_calibrations()
.
A phylo
or multiPhylo
object with branch lengths proportional to time.
The output object stores the used calibrations
and dating_method
as
attributes(output)$datelife_calibrations
and attributes(output)$dating_method
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.