Description Usage Arguments Value Examples
View source: R/studyTaxonList.R
Takes input phylogenies or vectors of taxon names, checks against taxonomic database, returns vector of cleaned taxonomic names (using taxonRectification
) for use in spocc queries, as well as warnings if there are invalid names.
1 | studyTaxonList(x = NULL, datasources = NULL)
|
x |
A phylogeny of class 'phylo' or a vector of class 'character' containing the names of taxa of interest |
datasources |
A vector of taxonomic datasources implemented in |
An object of class BridgeTreeData
containing the type of inquiry the user has made –a phylogeny or a vector of names– and a dataframe containing input taxa names, the closeset match according to gnr_resolve
, and a list of taxonomic datasources that contain the matching name.
1 2 3 4 5 | ## Inputting a phylogeny
studyTaxonList(x = phylogeny, datasources = c('NCBI', 'EOL'));
## Inputting a vector of taxon names
studyTaxonList(x = c("Buteo buteo", "Buteo buteo hartedi", "Buteo japonicus"), datasources = c('NCBI', 'EOL'));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.