Learn R Programming

RAM (version 1.2.1.3)

transpose.OTU: Take the Transpose of an OTU Table

Description

Returns the transpose of the given OTU table, excluding the last column (which should contain taxonomic information).

Usage

transpose.OTU(data)

Arguments

data
The OTU table to be transposed.

Value

Returns a data frame with rows equal to the columns of the original OTU, and columns equal to the rows of the original OTU. (Excluding the taxonomy column).

Examples

Run this code
data(ITS1)
ITS1.t <- transpose.OTU(ITS1)

Run the code above in your browser using DataLab