Description Usage Arguments Value Examples
View source: R/plotting_wrappers.R
Plot Stacked barchart of DE genes using edgeR/DESeq2 output
1 2 | plotStackedBars(DEoutput, fdr = 0.05, foldCh = "abs", sampleName = NULL,
outFile = NULL)
|
DEoutput |
A tab-seperated edgeR/DESeq2 output file, using |
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. |
Stacked bar chart of DE gene counts.
1 2 | deout <- system.file("extdata", "edgeR_output_annotated.tsv", package="vivlib")
plotStackedBars <- function(DEoutput = deout)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.