dominant {microbiome} | R Documentation

## Dominant taxa

### Description

Returns the dominant taxonomic group for each sample.

### Usage

    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

    data(dietswap)
    # vector
    d <- dominant(dietswap)

[Package microbiome version 1.12.0 Index]