prevalence: Compute prevalence and abundance summary of each species/OTU.

View source: R/prevalence.R

prevalenceR Documentation

Compute prevalence and abundance summary of each species/OTU.

Description

Compute prevalence and abundance summary of each species/OTU.

Usage

prevalence(physeq, add_tax = TRUE)

Arguments

physeq

A phyloseq-class object

add_tax

Logical, add taxonomy to the results

Value

Data frame

Examples

data(esophagus)
prevalence(esophagus)

data(GlobalPatterns)
head( prevalence(GlobalPatterns, add_tax = T) )


vmikk/metagMisc documentation built on Feb. 14, 2024, 2:29 a.m.