alphadivDF | R Documentation |
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.
alphadivDF(x, diversity = "shannon")
x |
The |
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. |
A data.frame
consisting of sample metadata and selected diversity indexes.
library(mirlyn)
data(example)
## Not run:
mirlexample <- mirl(example, rep = 100)
alphadiv_df <- alphadivDF(mirlexample)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.