Visual comparison between the diversity levels of two or multiple groups of samples, with the option to show the significance values of the pairwise posthoc analyses.
data(bat.diet.otutable)
data(bat.diet.hierarchy)
#With no post-hoc analyses
divtestres <- div_test(bat.diet.otutable,qvalue=0,hierarchy=bat.diet.hierarchy)
div_test_plot(divtestres,chart="box")
div_test_plot(divtestres,chart="violin")
#With post-hoc analyses
divtest.res.ph <- div_test(bat.diet.otutable,qvalue=0,hierarchy=bat.diet.hierarchy,posthoc=TRUE)
div_test_plot(divtest.res.ph,chart="jitter",posthoc=TRUE,threshold=0.5)