Skip to contents

Volcano plots of DE results

Usage

plot_volcano_DE(
  de_res,
  ain = NULL,
  comparisons = NULL,
  facet_norm = TRUE,
  facet_comparison = FALSE
)

Arguments

de_res

data table resulting of run_DE

ain

Vector of strings of normalization methods to visualize (must be valid normalization methods saved in de_res)

comparisons

Vector of comparisons (must be valid comparisons saved in de_res)

facet_norm

Boolean indicating whether to facet by normalization method (TRUE) or not (FALSE)

facet_comparison

Boolean indicating whether to facet by comparison (TRUE) or not (FALSE). Only valid if facet_norm = FALSE.

Value

list of ggplot objects

Examples

data(tuberculosis_TMT_de_res)
plot_volcano_DE(tuberculosis_TMT_de_res, ain = NULL,
                comparisons = NULL, facet_norm = TRUE,
                facet_comparison = FALSE)
#> All comparisons of de_res will be visualized.
#> All normalization methods of de_res will be visualized.
#> $`PTB-HC`
#> Warning: Removed 119 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#> 
#> $`TBL-HC`
#> Warning: Removed 311 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#> 
#> $`Rx-HC`
#> Warning: Removed 447 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#> 
#> $`TBL-PTB`
#> Warning: Removed 280 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#> 
#> $`Rx-PTB`
#> Warning: Removed 432 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#> 
#> $`Rx-TBL`
#> Warning: Removed 639 rows containing missing values or values outside the scale range
#> (`geom_point()`).

#>