t {phyloseq} | R Documentation

## 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) )

[Package phyloseq version 1.24.2 Index]