plotdiff | R Documentation |
plot differential results
plotdiff(
res,
level = "Genus",
color = NULL,
pvalue = 0.05,
padj = NULL,
log2FC = 0,
size = 3,
fontsize.x = 5,
fontsize.y = 10,
horiz = TRUE
)
res |
differential test results from diff_test |
level |
the level to plot |
color |
A vector of character use specifying the color |
pvalue |
pvalue threshold for significant results |
padj |
adjust p value threshold for significant results |
log2FC |
log2 Fold Change threshold |
size |
size for the point |
fontsize.x |
the size of x axis label |
fontsize.y |
the size of y axis label |
horiz |
horizontal or not (TRUE/FALSE) |
ggplot object
Kai Guo
data("Physeq")
res <- difftest(physeq,group="group")
plotdiff(res,level="Genus",padj=0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.