plotLDA | R Documentation |
plot LEfSe results from ldamarker function
plotLDA(
x,
group,
lda = 2,
pvalue = 0.05,
padj = NULL,
color = NULL,
fontsize.x = 4,
fontsize.y = 5
)
x |
LEfse results from ldamarker |
group |
a vector include two character to show the group comparsion |
lda |
LDA threshold for significant biomarker |
pvalue |
pvalue threshold for significant results |
padj |
adjust p value threshold for significant results |
color |
A vector of character use specifying the color |
fontsize.x |
the size of x axis label |
fontsize.y |
the size of y axis label |
ggplot2 object
Kai Guo
data("Physeq")
res <- ldamarker(physeq,group="group")
plotLDA(res,group=c("A","B"),lda=5,pvalue=0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.