Get an Open Tree of Life synthetic subtree of a set of given taxon names.
Source:R/otol_tree.R
get_otol_synthetic_tree.Rd
Get an Open Tree of Life synthetic subtree of a set of given taxon names.
Usage
get_otol_synthetic_tree(
input = NULL,
ott_ids = NULL,
otol_version = "v3",
resolve = FALSE,
...
)
Arguments
- input
Optional. A character vector of names or a
datelifeQuery
object.- ott_ids
If 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()
.- otol_version
Version of Open Tree of Life to use
- resolve
Defaults to
TRUE
. Whether to resolve the tree at random or not.- ...
Arguments passed on to
check_ott_input