lefserPlot: Plots results from 'lefser' function

Description Usage Arguments Value Examples

View source: R/lefserPlot.R

Description

'lefserPlot' function displays effect sizes for differentially expressed microorganisms and whether they are more abundant in '0' or '1' sample group.

Usage

1
lefserPlot(df, colors = c("red", "forestgreen"), trim.names = TRUE)

Arguments

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.

Value

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'.

Examples

1
2
example("lefser")
lefserPlot(res_group)

lefser documentation built on Nov. 8, 2020, 8:01 p.m.