Force index order of phyloseq objects

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.