draw_degbar: A function for DEG barplot visualization

Description Usage Arguments Value Examples

View source: R/draw_degbar.R

Description

This function visualize as barplots the number of DEGs across the input studies

Usage

1
draw_degbar(degbar_data)

Arguments

degbar_data

output of the set_degbar_data() function <data.fram/data.table>

Value

ggplot2 object

Examples

1
2
3
4
5
6
data(diffexplist)
diffexp <- lapply(diffexplist, function(...) deg_def(..., "pvalue", 
           "Log2FC", 0.05, 0))
bardat <- set_degbar_data(diffexp)
gg <- draw_degbar(bardat)
plot(gg)

MetaVolcanoR documentation built on Nov. 8, 2020, 7:52 p.m.