index_reorder: Force index order of phyloseq objects

Description Usage Arguments Examples

Description

Force index order of phyloseq objects

Usage

1
2
3
4
index_reorder(ps, index_type)

## S4 method for signature 'phyloseq'
index_reorder(ps, index_type = "both")

Arguments

ps

(Required). A phyloseq-class instance.

index_type

(Optional). A character string specifying the indices to properly order. Supported values are c("both", "taxa", "samples"). Default is "both", meaning samples and taxa indices will be checked/re-ordered.

Examples

1
2
## data("GlobalPatterns")
## GP = index_reorder(GlobalPatterns)

Example output



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