summarise_taxa: Calculate the mean, variance and CV of each OTU

View source: R/summarise_taxa.R

summarise_taxaR Documentation

Calculate the mean, variance and CV of each OTU

Description

Calculate the mean, variance and CV of each OTU

Usage

summarise_taxa(otu_table, taxa_as_rows = TRUE)

Arguments

otu_table

a dataframe of OTUs where the first row is the OTU ID and column names refer to sites

taxa_as_rows

logical data must be in a format where the taxa are rows and the sites are columns. The default value is TRUE, if FALSE data will be transposed for downstream analysis.

Value

a dataframe with the Mean, Variance and CV for each OTU

Examples

summarise_taxa(arabidopsis)


MayaGans/CoreMicro documentation built on March 5, 2023, 2:54 a.m.