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

transpose-methods

Transpose otu_table-class or phyloseq-class


Description

Extends the base transpose method, t.

Usage

t(x)

## S4 method for signature 'otu_table'
t(x)

## S4 method for signature 'phyloseq'
t(x)

Arguments

x

An otu_table or phyloseq-class.

Value

The class of the object returned by t matches the class of the argument, x. The otu_table is transposed, and taxa_are_rows value is toggled.

Examples

data(GlobalPatterns)
otu_table(GlobalPatterns)
t( otu_table(GlobalPatterns) )

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.