Learn R Programming

phyloseq (version 1.16.2)

taxa_names: Get species / taxa names.

Description

Get species / taxa names.

Usage

taxa_names(physeq)

## S3 method for class 'ANY': taxa_names(physeq)

## S3 method for class 'phyloseq': taxa_names(physeq)

## S3 method for class 'otu_table': taxa_names(physeq)

## S3 method for class 'taxonomyTable': taxa_names(physeq)

## S3 method for class 'sample_data': taxa_names(physeq)

## S3 method for class 'phylo': taxa_names(physeq)

## S3 method for class 'XStringSet': 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