Learn R Programming

corncob (version 0.4.2)

otu_to_taxonomy: Transform OTUs to their taxonomic label

Description

Transform OTUs to their taxonomic label

Usage

otu_to_taxonomy(OTU, data, level = NULL)

Value

String vector. Names of taxonomic labels matching labels of OTU.

Arguments

OTU

String vector. Names of OTU labels in data

data

phyloseq object with a taxonomy table

level

(Optional). Character vector. Desired taxonomic levels for output.