assign-taxa_are_rows: Manually change taxa_are_rows through assignment.

Description Usage Arguments Examples

Description

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

Usage

1
2
3
4
5
6
7
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

1
2
3

Example output

[1] TRUE
[1] TRUE

phyloseq documentation built on Nov. 8, 2020, 6:41 p.m.