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",
trim.names = TRUE,
title = "",
label.font.size = 3
)
df |
Data frame produced by |
colors |
Colors corresponding to class 0 and 1. Options: "c" (colorblind), "l" (lefse), "g" (greyscale). Defaults to "c". This argument also accepts a character(2) with two color names. |
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_class)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.