diversities | R Documentation |
Get alpha diversity
diversities(counts_table, index = "all", zeroes = TRUE)
counts_table |
A dataframe with organism x sample |
index |
One of inverse_simpson,gini_simpson,shannon,fisher,coverage,unit |
zeroes |
A boolean for whether to ignore zero values |
A list of alpha diversity
diversities(matrix(seq_len(12), nrow = 3), index = "shannon")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.