draw_degbar {MetaVolcanoR} | R Documentation

## A function for DEG barplot visualization

### Description

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

### Usage

    draw_degbar(degbar_data)

### Arguments

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

### Value

`ggplot2` object

### Examples

    data(diffexplist)
    diffexp <- lapply(diffexplist, function(...) deg_def(..., "pvalue",
               "Log2FC", 0.05, 0))
    bardat <- set_degbar_data(diffexp)
    gg <- draw_degbar(bardat)
    plot(gg)

[Package MetaVolcanoR version 1.1.0 Index]