Learn R Programming

phyloseq (version 1.16.2)

taxa_are_rows<-: Manually change taxa_are_rows through assignment.

Description

The taxa_are_rows slot is a logical indicating the orientation of the abundance table contained in object x.

Usage

taxa_are_rows(x) <- value

## S3 method for class 'otu_table,logical': taxa_are_rows(x) <- value

## S3 method for class 'phyloseq,logical': taxa_are_rows(x) <- value

Arguments

value
A logical of length equal to 1. If length(value) > 1, the additional elements will be ignored. Only the first element is assigned to the taxa_are_rows slot.

Examples

Run this code
data(esophagus)
 taxa_are_rows(esophagus)
 taxa_are_rows(otu_table(esophagus))

Run the code above in your browser using DataLab