Description Usage Arguments Value Author(s) Examples
This function allows you to extract necessary results-based data from analytical objects to create a box plot comparing log10(FPKM or CPM) distributions for experimental treatments.
1 2 |
data |
output generated from calling the main routines of either 'cuffdiff', 'DESeq2', or 'edgeR' analyses. For 'cuffdiff', this will be a '*_exp.diff' file. For 'DESeq2', this will be a generated object of class 'DESeqDataSet'. For 'edgeR', this will be a generated object of class 'DGEList'. |
d.factor |
a specified factor; for use with 'DESeq2' objects only. This input equates to the first parameter for the contrast argument when invoking the 'results()' function in 'DESeq2'. Defaults to 'NULL' |
type |
an analysis classifier to tell the function how to process the data. Must be either 'cuffdiff', 'deseq', or 'edger'. 'cuffdiff' must be used with 'cuffdiff' data; 'deseq' must be used for 'DESeq2' output; 'edgeR' must be used with 'edgeR' data. See the 'data' parameter for further details. |
title |
display the main title of plot. Logical; defaults to 'TRUE'. If set to 'FALSE', no title will display in plot. |
legend |
display legend of plot. Logical; defaults to 'TRUE'. If set to 'FALSE', no legend will display in plot. |
grid |
display major and minor axis lines. Logical; defaults to 'TRUE'. If set to 'FALSE', no axis lines will display in plot. |
An object created by ggplot
Brandon Monier, brandon.monier@sdstate.edu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Cuffdiff example
data("df.cuff")
vsBoxPlot(
data = df.cuff, d.factor = NULL, type = 'cuffdiff', title = TRUE,
legend = TRUE, grid = TRUE
)
# DESeq2 example
data("df.deseq")
require(DESeq2)
vsBoxPlot(
data = df.deseq, d.factor = 'condition', type = 'deseq',
title = TRUE, legend = TRUE, grid = TRUE
)
# edgeR example
data("df.deseq")
require(edgeR)
vsBoxPlot(
data = df.edger, d.factor = NULL, type = 'edger', title = TRUE,
legend = TRUE, grid = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.