View source: R/datelife_summary.R
summarize_datelife_result | R Documentation |
datelifeResult
object.Get different types of summaries from a datelifeResult
object, an output from get_datelife_result()
.
This allows rapid processing of data.
If you need a list of chronograms from your datelifeResult
object, this
is the function you are looking for.
summarize_datelife_result(
datelife_result = NULL,
datelife_query = NULL,
summary_format = "phylo_all",
na_rm = TRUE,
summary_print = c("citations", "taxa"),
taxon_summary = c("none", "summary", "matrix"),
criterion = "taxa"
)
datelife_result |
A |
datelife_query |
A |
summary_format |
A character vector of length one, indicating the output format for results of the DateLife search. Available output formats are:
|
na_rm |
If |
summary_print |
A character vector specifying the type of summary information to be printed to screen. Options are:
Defaults to |
taxon_summary |
A character vector specifying if data on target taxa missing
in source chronograms should be added to the output as a |
criterion |
Defaults to |
The output is determined by the argument summary_format
:
summary_format = "citations"
The function returns a character vector of references.
summary_format = "mrca"
The function returns a named numeric vector of most recent common ancestor (mrca) ages.
summary_format = "newick_[all, sdm, or median]"
The function returns output chronograms as newick strings.
summary_format = "phylo_[all, sdm, median, or biggest]"
The
function returns output chronograms as phylo
or multiPhylo
objects.
summary_format = "html" or "data_frame"
The function returns a 4 column table with data on mrca ages, number of taxa, references, and output chronograms as newick strings.
Ané, C., Eulenstein, O., Piaggio-Talice, R., & Sanderson, M. J. (2009). "Groves of phylogenetic trees". Annals of Combinatorics, 13(2), 139-167, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s00026-009-0017-x")}.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.