alpha_div_test: Get alpha diversity

Description Usage Arguments Value Examples

View source: R/alpha_div_test.R

Description

Get alpha diversity

Usage

1
alpha_div_test(sam_table, alpha_stat)

Arguments

sam_table

A dataframe with 2 cols, richness and condition

alpha_stat

Wilcoxon rank sum test or T-test for the test

Value

A dataframe

Examples

1
2
3
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')

hiplot/animalcules documentation built on March 1, 2021, 12:04 a.m.