getNodeLabels: Get node labels based on online taxonomic database

Description Usage Arguments Details References Examples

Description

Return names of each node in tree based on searching tip labels through Global Names Resolver http://resolver.globalnames.org/ in NCBI.

Usage

1
getNodeLabels(tree, all = FALSE, cache = FALSE, parent = NULL)

Arguments

tree

phylogenetic tree (ape class)

all

count tips as nodes, default False

cache

T/F, create a local cache of downloaded names?

parent

specify parent of all names to prevent false names

Details

For each node, all the children 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.

References

No references yet! https://github.com/DomBennett/MoreTreeTools.

Examples

1
# example.var <- exampleFun (test.data)

DomBennett/MoreTreeTools documentation built on May 6, 2019, 2:51 p.m.