genusLookup: Taxonomy lookup

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/genusLookup.R

Description

Extracting taxonomic information from the taxonomy.table.

Usage

1
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

taxonomy.table.

Examples

1
2
3
genus <-  c("Acidilobus","Nitrosopumilus","Hyphomonas") 
genusLookup(genus, rank = "Phylum")
genusLookup(genus, rank = "Class")

microcontax documentation built on Aug. 11, 2020, 5:08 p.m.