plot_postHocTest {microbiomeMarker} | R Documentation |
postHocTest
plotVisualize the result of post-hoc test using ggplot2
plot_postHocTest(pht, feature, step_increase = 0.12)
pht |
a |
feature |
character, to plot the post-toc test result of this feature |
step_increase |
numeric vector with the increase in fraction of total
height for every additional comparison to minimize overlap, default |
a ggplot
object
data(enterotypes_arumugam) ps <- phyloseq::subset_samples( enterotypes_arumugam, Enterotype %in% c("Enterotype 3", "Enterotype 2", "Enterotype 1") ) %>% phyloseq::subset_taxa(Phylum == "Bacteroidetes") pht <- run_posthoc_test(ps, group = "Enterotype") plot_postHocTest(pht, feature = "p__Bacteroidetes|g__Alistipes")