dominant: Dominant taxa

Description Usage Arguments Value Author(s) Examples

View source: R/dominant.R

Description

Returns the dominant taxonomic group for each sample.

Usage

1
dominant(x, level = NULL)

Arguments

x

A phyloseq-class object

level

Optional. Taxonomic level.

Value

A vector of dominance indices

Author(s)

Leo Lahti microbiome-admin@googlegroups.com

Examples

1
2
3
data(dietswap)
# vector
d <- dominant(dietswap)

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.