set_degbar_data {MetaVolcanoR} | R Documentation

## A function setting data format for DEG barplot visualization

### Description

This function summarize the variable deg from the deg_def() function to visualize as barplots the number of DEGs per input study

### Usage

    set_degbar_data(diffexp)

### Arguments

`diffexp` | list of data.frame/data.table (s) output of the deg_def() function <list>

### Value

`data.frame` DEG by input

### Examples

    data(diffexplist)
    diffexp <- lapply(diffexplist, function(...) deg_def(..., "pvalue",
               "Log2FC", 0.05, 0))
    bardat <- set_degbar_data(diffexp)
    head(bardat, 3)

[Package MetaVolcanoR version 1.8.0 Index]