View source: R/datelife_query2.R
make_datelife_query2 | R Documentation |
datelifeQuery
objectGo from taxon names to a datelifeQuery
object
make_datelife_query2(
input = c("Rhea americana", "Pterocnemia pennata", "Struthio camelus"),
get_spp_from_taxon = FALSE,
reference_taxonomy = "ott",
...
)
input |
Taxon names as one of the following:
|
get_spp_from_taxon |
Whether to search ages for all species belonging to a
given taxon or not. Default to |
reference_taxonomy |
A character vector specifying the reference taxonomy to use for TNRS. Options are "ott", "ncbi", "gbif" or "irmng". The function defaults to "ott". |
... |
Arguments passed on to
|
It processes phylo
objects and newick character string inputs
with input_process()
. If input
is a multiPhylo
object, only the first phylo
element will be used. Similarly, if an input
newick character string has multiple trees,
only the first one will be used.
A datelifeQuery
object, which is a list of four elements:
A character vector of input taxon names.
A character vector of taxon names processed with TNRS.
A numeric vector of OTT ids.
A phylo
object or NA
, if input is not a tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.