plot.differentialTest: differentialTest plot function

Description Usage Arguments Value Examples

View source: R/plot_differentialTest.R

Description

differentialTest plot function

Usage

1
2
## S3 method for class 'differentialTest'
plot(x, level = NULL, data_only = FALSE, ...)

Arguments

x

Object of class differentialTest

level

(Optional). Character vector. Desired taxonomic levels for taxa labels.

data_only

(Optional). Default FALSE. Boolean. If TRUE, only returns data frame.

...

No optional arguments are accepted at this time.

Value

Object of class ggplot. Plot of coefficients from models for significant taxa from differentialTest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# phyloseq example
data(soil_phylum_small)
da_analysis <- differentialTest(formula = ~ DayAmdmt,
                                phi.formula = ~ DayAmdmt,
                                formula_null = ~ 1,
                                phi.formula_null = ~ DayAmdmt,
                                test = "Wald", boot = FALSE,
                                data = soil_phylum_small,
                                fdr_cutoff = 0.05)
plot(da_analysis, level = "Phylum")

corncob documentation built on March 11, 2021, 5:06 p.m.