abundance_calc: Calculate Abundance

View source: R/beta_diversity_fun.R

abundance_calcR Documentation

Calculate Abundance

Description

Calculate abundance in regards to taxonomic level.

Usage

abundance_calc(phylo, taxlev, ntaxa)

Arguments

phylo

phyloseq object

taxlev

character. taxonomic level

ntaxa

numeric. Number of most abundant taxa, which should be displayed. Remaining taxa will be summarised in "Others".

Value

data.frame

Examples

data("mice_B6_N")
abundance_calc(mice_B6_N, "Family", 14)

ericjcgalvez/MicrobiomeWrangler documentation built on April 14, 2022, 6:33 p.m.