Performs graph-based permutation tests

grap_p_test(otutab, metadata, group = "Group", nperm = 999, ...)

Arguments

otutab

an otutab data.frame, samples are columns, taxs are rows.

metadata

metadata

group

one group name in columns of metadata

nperm

numbers of permutations to perform

...

additional

Value

ggplot

Examples

# \donttest{
if (requireNamespace("phyloseqGraphTest") && requireNamespace("phyloseq")) {
  data(otutab, package = "pcutils")
  grap_p_test(otutab, metadata, "Group")
}
#> Loading required namespace: phyloseqGraphTest
# }