Get minimum, median, mean, midpoint, and maximum summary chronograms from a
summary matrix of a datelifeResult object.
Source: R/to_phylo_all.R
summary_matrix_to_phylo_all.RdGet minimum, median, mean, midpoint, and maximum summary chronograms from a
summary matrix of a datelifeResult object.
Usage
summary_matrix_to_phylo_all(
summ_matrix,
datelife_query = NULL,
target_tree = NULL,
total_distance = TRUE,
...
)Arguments
- summ_matrix
Any summary patristic distance matrix, such as the ones obtained with
datelife_result_sdm_matrix()ordatelife_result_median_matrix().- datelife_query
A
datelifeQueryobject, usually an output ofmake_datelife_query().- target_tree
A
phyloobject. Use this in case you want a specific backbone for the output tree.- total_distance
Whether the input
summ_matrixstores total age distance (from tip to tip) or distance from node to tip. Default toTRUE, divides the matrix in half, ifFALSEit will take it as is.- ...
Arguments passed on to
get_otol_synthetic_treeotol_versionVersion of Open Tree of Life to use
resolveDefaults to
TRUE. Whether to resolve the tree at random or not.inputOptional. A character vector of names or a
datelifeQueryobject.ott_idsIf not NULL, it takes this argument and ignores input. A numeric vector of ott ids obtained with
rotl::taxonomy_taxon_info()orrotl::tnrs_match_names()ortnrs_match().