View source: R/alpha_div_test.R
alpha_div_test | R Documentation |
Get alpha diversity
alpha_div_test(sam_table, alpha_stat)
sam_table |
A dataframe with 2 cols, richness and condition. Required. |
alpha_stat |
Wilcoxon rank sum test or T-test for the test |
A dataframe
df_test <- data.frame(
richness = seq_len(10),
condition = c(rep(1, 5), rep(0, 5))
)
alpha_div_test(df_test, alpha_stat = "Wilcoxon rank sum test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.