lefserPlot {lefser} | R Documentation |
'lefserPlot' function displays effect sizes for differentially expressed microorganisms and whether they are more abundant in '0' or '1' sample group.
lefserPlot(df, colors = c("red", "forestgreen"), trim.names = TRUE)
df |
Data frame produced by 'lefser'. |
colors |
character(2) The two colors corresponding to class 0 and 1, respectively. Defaults to 'c("red", "forestgreen")'. |
trim.names |
If 'TRUE' extracts the most specific taxonomic rank of organism. |
Function returns plot of effect size scores produed by 'lefser'. Positive scores represent microorganisms with that are more abundant in class '1'. Negative scores represent microorganisms with that are more abundant in class '0'.
example("lefser") lefserPlot(res_group)