lefserPlot | R Documentation |
lefser
functionThis function plots the biomarkers found by LEfSe, that are ranked according to their effect sizes and linked to their abundance in each class.
lefserPlot(
df,
colors = c("red", "forestgreen"),
trim.names = TRUE,
title = "",
label.font.size = 3
)
df |
Data frame produced by |
colors |
A character(2). Colors corresponding to class 0 and 1.
Defaults to |
trim.names |
Under the default ( |
title |
A character(1). The title of the plot. |
label.font.size |
A numeric(1). The font size of the feature labels.
The default is |
Function returns plot of effect size scores produced by lefser
.
Positive scores represent the biomarker is more abundant in class '1'.
Negative scores represent the biomarker is more abundant in class '0'.
example("lefser")
lefserPlot(res_group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.