set_degbar_data: A function setting data format for DEG barplot visualization

Description Usage Arguments Value Examples

View source: R/set_degbar_data.R

Description

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

Usage

1
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

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

csbl-usp/MetaVolcanoR documentation built on Nov. 8, 2019, 8:53 p.m.