phyloseq (version 1.16.2)

sample_names: Get sample names.

Description

Get sample names.

Usage

sample_names(physeq)

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

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

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

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

Arguments

physeq

Value

  • A character vector. The names of the samples in physeq.

See Also

taxa_names, nsamples

Examples

Run this code
data(esophagus)
sample_names(esophagus)

Run the code above in your browser using DataLab