Learn R Programming

phyloseq (version 1.12.2)

taxa_names: Get species / taxa names.

Description

Get species / taxa names.

Usage

taxa_names(physeq)

Arguments

Value

A character vector of the names of the species in physeq.

See Also

ntaxa

Examples

Run this code
#
data("esophagus")
tree <- phy_tree(esophagus)
OTU1 <- otu_table(esophagus)
taxa_names(tree)
taxa_names(OTU1)
physeq1 <- phyloseq(OTU1, tree)
taxa_names(physeq1)

Run the code above in your browser using DataLab