Description Usage Arguments Details See Also Examples
Return names of each node in tree based on searching tip labels through Global Names Resolver http://resolver.globalnames.org/ in NCBI.
1 | searchTxnyms(tree, cache = FALSE, parent = NULL, clean = TRUE, infer = TRUE)
|
tree |
TreeMan object |
cache |
T/F, create a local cache of downloaded names? |
parent |
specify parent of all names to prevent false names |
clean |
T/F, ensure returned names contain no special characters? |
infer |
T/F, infer taxonyms for unfound nodes? |
For each node, all the descendants are searched, the taxonomic lineages returned and then searched to find the lowest shared name. All the tip labels are searched against a specified taxonomic database through the GNR and NCBI. (So far only tested with NCBI database.) Use the infer argument to ensure a taxonym is returned for all nodes. If infer is true, all nodes without an identifed taxonym adopt the taxonym of their parent. Will raise a warning if connection fails and will return NULL.
taxaResolve
, setTxnyms
, getNdsFrmTxnyms
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.