View source: R/analysisAlphaDiv.R
adiv | R Documentation |
Alpha Diversity Calculation
adiv(dataset = NULL, method = "chao1", rooted = F)
dataset |
MicroVis dataset. Defaults to active dataset |
method |
Method for alpha diversity calculation. One of either "chao1", "shannon", "simpson", "invsimpson", or "pd". Defaults to "chao1" |
rooted |
(Optional) If method is set to "pd", calculate rooted or unrooted Faith's phylogenetic diversity index? Defaults to FALSE |
Table with the alpha diversity index for each sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.