plotStackedBars: Plot Stacked barchart of DE genes using edgeR/DESeq2 output

Description Usage Arguments Value Examples

View source: R/plotting_wrappers.R

Description

Plot Stacked barchart of DE genes using edgeR/DESeq2 output

Usage

1
2
plotStackedBars(DEoutput, fdr = 0.05, foldCh = "abs", sampleName = NULL,
  outFile = NULL)

Arguments

DEoutput

A tab-seperated edgeR/DESeq2 output file, using EdgeR_wrapper or DESeq_wrapper

fdr

FDR cutoff for DE genes

foldCh

Which scale of fold-change to plot. Choose from "abs" (absolute) and "log2" (log2).

sampleName

Samplename to print on the plot.

outFile

Output pdf file name. If not, plot will be printed on screen.

Value

Stacked bar chart of DE gene counts.

Examples

1
2
deout <- system.file("extdata", "edgeR_output_annotated.tsv", package="vivlib")
plotStackedBars <- function(DEoutput = deout)

vivekbhr/vivlib documentation built on May 3, 2019, 6:13 p.m.