genusLookup {microcontax} | R Documentation |
Taxonomy lookup
Description
Extracting taxonomic information from the taxonomy.table
.
Usage
genusLookup(genera, rank = "Phylum")
Arguments
genera |
A vector of texts, the genera names to look up. |
rank |
A single text, the level of the taxonomy to look up. |
Details
Function for looking up higher-level taxonomy of specified genera.
The argument genera
must consist of names in the Genus
column of the data
set taxonomy.table
.
Value
A character vector containing the taxonomy information. Names in genera
not recognized will
return NA
. Please note that there are some cases of un-assigned taxonomy at some ranks
(Class, Order or Family), this is returned as "unknown".
Author(s)
Hilde Vinje, Lars Snipen.
See Also
Examples
genus <- c("Acidilobus","Nitrosopumilus","Hyphomonas")
genusLookup(genus, rank = "Phylum")
genusLookup(genus, rank = "Class")
[Package microcontax version 1.2 Index]