alpha_diversity: Alpha diversity

View source: R/alpha_diversity.R

alpha_diversityR Documentation

Alpha diversity

Description

The alpha_diversity aims to calculate the global indicators of the ecosystem state

Usage

alpha_diversity(physeq, method)

Arguments

method

(Required). A list of character strings specifying method to be used to calculate for alpha diversity in the data. Available methods are: "observed", "chao1", "simpson", "shannon" and "evenness" .

physeq

(Required). A phyloseq object containing merged information of abundance, sample data including the measured variables and categorical information of the samples.

Details

10/01/2020 ShenZhen China

Value

It returns a data frame of diversity measure and corresponding indices/methods

Author(s)

(s) Hua Zou, Huahui Ren huahui.ren@bio.ku.dk

Examples

data(physeq_data)
method <- "all"
alpha_diversity(physeq_data, method)


rusher321/microbiotaPair documentation built on July 24, 2024, 8:40 p.m.