View source: R/plot_functions.R
plot_mt | R Documentation |
phyloseq::mt()
Graphical representation of mt test.
plot_mt(mt = NULL, alpha = 0.05, color_tax = "Class", taxa = "Species")
mt |
(required) Result of a mt test from the function |
alpha |
(default: 0.05) Choose the cut off p-value to plot taxa. |
color_tax |
(default: "Class") A taxonomic level to color the points. |
taxa |
(default: "Species") The taxonomic level you choose for x-positioning. |
a ggplot
2 plot of result of a mt test
Adrien Taudière
phyloseq::mt()
data_fungi_mini2 <- subset_samples(data_fungi_mini, !is.na(Time))
res <- mt(data_fungi_mini2, "Time", method = "fdr", test = "f", B = 300)
plot_mt(res)
plot_mt(res, taxa = "Genus", color_tax = "Order")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.