alpha: Calculate the alpha diversity of OUT table or ASVs table...

Description Usage Arguments Value Author(s) Examples

View source: R/alpha.R

Description

Calculate the alpha diversity of OUT table or ASVs table using estimateR and diversity function of vegan package.

Usage

1

Arguments

data

a data frame containing the grouping information

Value

a data frame containg the alpha index

Author(s)

ZHonghui Gai

Examples

1
2
3
4
5
library(vegan)
data(BCI)
BCI <- data.frame(group = c(rep("ss", 25), rep("dd", 25)), BCI)
BCI$group <- as.factor(BCI$group)
alpha(BCI)  |> ggroup::ggboxplot.LetSig()

ZhonghuiGai/veganEx documentation built on Dec. 18, 2021, 9:20 p.m.