correct_taxon_names: Look up official names from potentially misspelled names

View source: R/old_taxa--taxmap--parsers.R

correct_taxon_namesR Documentation

Look up official names from potentially misspelled names

Description

Look up official names from potentially misspelled names using Global Names Resolver (GNR). If a result from the chosen database is present, then it is used, otherwise the NCBI result is used and if that does not exist, then the first result is used. Names with no match will return NA.

Usage

correct_taxon_names(names, database = "ncbi")

Arguments

names

Potentially misspelled taxon names

database

The database the names are being looked up for. If 'NULL', do not consider database.

Value

vector of names


metacoder documentation built on April 4, 2023, 9:08 a.m.