plotLDA: plot LEfSe results from ldamarker function

Description Usage Arguments Value Author(s) Examples

View source: R/plot.R

Description

plot LEfSe results from ldamarker function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotLDA(
  x,
  group,
  lda = 2,
  pvalue = 0.05,
  padj = NULL,
  color = NULL,
  fontsize.x = 4,
  fontsize.y = 5
)

Arguments

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

Value

ggplot2 object

Author(s)

Kai Guo

Examples

1
2
3
data("Physeq")
res <- ldamarker(physeq,group="group")
plotLDA(res,group=c("A","B"),lda=5,pvalue=0.05)

guokai8/microbial documentation built on Nov. 10, 2021, 1:43 a.m.