Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sample_names-methods

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

Examples

data(esophagus)
sample_names(esophagus)

phyloseq

Handling and analysis of high-throughput microbiome census data

v1.34.0
AGPL-3
Authors
Paul J. McMurdie <joey711@gmail.com>, Susan Holmes <susan@stat.stanford.edu>, with contributions from Gregory Jordan and Scott Chamberlain
Initial release
2019-04-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.