documentation/div_test_plot.md

div_test_plot()

Last update: hilldiv 1.5.0

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.

Examples

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)



anttonalberdi/hilldiv documentation built on Feb. 14, 2021, 5:08 p.m.