sample_names-methods: Get sample names.

Description Usage Arguments Value See Also Examples

Description

Get sample names.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

1
2

Example output

[1] "B" "C" "D"

phyloseq documentation built on Nov. 8, 2020, 6:41 p.m.