Learn R Programming

phyloseq (version 1.16.2)

index_reorder: Force index order of phyloseq objects

Description

Force index order of phyloseq objects

Usage

index_reorder(ps, index_type)

## S3 method for class '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

Run this code
## data("GlobalPatterns")
## GP = index_reorder(GlobalPatterns)

Run the code above in your browser using DataLab