Returns a list or vector of taxon IDs for exact names
(in ncbi file
to find IDs from partial names or search patterns.
Note that this is an ambiguous mapping, since some
names occur multiple times, eg. "Proboscidea" is the
name of both a genus of flowering plant and an order
containing the elephants, or "Actinobacteria"
is a name for both a "class" and a "phylum". If option
all is set to
TRUE multiple occurences
will cause the function to return a named list. If set to
FALSE (default), only the first or the last
occurences will be reported, depending on option
returned as a named vector.
TODO: resolve this ambiguity, eg. by checking the rank
and taking the taxon ID with the lowest/highest rank.
NCBI taxonomy object
return all matches as a named list, if set to
return the taxon ID for the first (default:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.