Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

assign-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

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

phyloseq

Handling and analysis of high-throughput microbiome census data

v1.34.0
AGPL-3
Authors
Paul J. McMurdie <joey711@gmail.com>, Susan Holmes <susan@stat.stanford.edu>, with contributions from Gregory Jordan and Scott Chamberlain
Initial release
2019-04-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.