get_datelife_result {datelife} | R Documentation |
Get a patristic matrix of time of lineage divergence data for a given set of taxon names
Description
get_datelife_result
takes as input a vector of taxon names, a newick string,
a phylo
object, or adatelifeQuery
object. It searches the chronogram
database specified in cache
for chronograms matching two or more given
taxon names. For each matching chronogram, it extracts time of lineage
divergence data and stores it as a patristic matrix. It then lists all
resulting patristic matrices. Each list element is named with the study
citation of the source chronogram.
Usage
get_datelife_result(
input = NULL,
partial = TRUE,
cache = "opentree_chronograms",
update_opentree_chronograms = FALSE,
...
)
Arguments
input |
One of the following:
|
partial |
Whether to return or exclude partially matching source chronograms,
i.e, those that match some and not all of taxa given in |
cache |
A character vector of length one, with the name of the data object
to cache. Default to |
update_opentree_chronograms |
Whether to update the chronogram database or not.
Defaults to |
... |
Arguments passed on to
|
Value
A datelifeResult
object – a named list of patristic matrices.