assign-taxa_are_rows: Manually change taxa_are_rows through assignment.

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

joey711/phyloseq documentation built on Nov. 4, 2022, 1:16 a.m.