plot_mt {MiscMetabar} | R Documentation |
Plot the result of a mt test phyloseq::mt()
Description
Usage
plot_mt(mt = NULL, alpha = 0.05, color_tax = "Class", taxa = "Species")
Arguments
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. |
Value
a ggplot
2 plot of result of a mt test
Author(s)
Adrien Taudière
See Also
Examples
# Filter samples that don't have Time
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")
[Package MiscMetabar version 0.9.1 Index]