alphadivDF: Alpha Diversity Dataframe

View source: R/alphawich.R

alphadivDFR Documentation

Alpha Diversity Dataframe

Description

alphadivDF() will generate a dataframe of alpha-diversity values from the mirl object allowing for characterization of uncertainty and variation introduced through random subsampling during rarefying.

Usage

alphadivDF(x, diversity = "shannon")

Arguments

x

The mirl object.

diversity

Diversity index to be applied. By default, the Shannon Index will be utilized in the generation of the dataframe. Diversity indexes available in vegan are supported.

Value

A data.frame consisting of sample metadata and selected diversity indexes.

Examples

library(mirlyn)
data(example)

## Not run: 
mirlexample <- mirl(example, rep = 100)
alphadiv_df <- alphadivDF(mirlexample)

## End(Not run)


escamero/mirlyn documentation built on Aug. 6, 2023, 9:30 p.m.