sample_names-methods: Get sample names.

sample_namesR Documentation

Get sample names.

Description

Get sample names.

Usage

sample_names(physeq)

## S4 method for signature 'ANY'
sample_names(physeq)

## S4 method for signature 'phyloseq'
sample_names(physeq)

## S4 method for signature 'sample_data'
sample_names(physeq)

## S4 method for signature 'otu_table'
sample_names(physeq)

Arguments

physeq

(Required). A phyloseq-class, sample_data, or otu_table-class.

Value

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

See Also

taxa_names, nsamples

Examples

data(esophagus)
sample_names(esophagus)

joey711/phyloseq documentation built on Nov. 4, 2022, 1:16 a.m.