taxa_are_rows<- {phyloseq}R Documentation

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

## S4 replacement method for signature 'otu_table,logical'
taxa_are_rows(x) <- value

## S4 replacement method for signature 'phyloseq,logical'
taxa_are_rows(x) <- value

Arguments

x

otu_table-class or phyloseq-class

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

 data(esophagus)
 taxa_are_rows(esophagus)
 taxa_are_rows(otu_table(esophagus))

[Package phyloseq version 1.24.2 Index]