RnaSeqTutorial-plotMA: MA (median vs. average) plot

Description Usage Arguments Details Value See Also Examples

Description

Draws an MA plot, in the present case (the log2 fold changes vs. the log10 of the mean)

Usage

1
2
## S4 method for signature 'DataFrame'
plotMA(object, alpha = 0.01, log2FC = 0.5)

Arguments

object

an object of class DataFrame having at least 3 columns named baseMean, log2FoldChange and padj

alpha

the significance cutoff to be used when plotting, defaults to 10e-2

log2FC

the log2 fold change used for plotting, defaults to 0.5.

Details

This function has been devised to draw a series of MA plot from a DESeq DataFrame object. Use as(object,"DataFrame") to use the DESeq2::results obtained from DESeq2::DESeq. The cutoffs have been devised from Schurch et al., RNA, 2016

Value

TRUE invisibly

See Also

DESeq package

Examples

1
2
3
4
5
6
7
## Not run: 
## TODO add an object after putting results in the data folder
## and use that for plotting the example
data(RST-DataFrame)
volcanoPlot(dataFrame)

## End(Not run)

UPSCb/RnaSeqTutorial documentation built on Nov. 24, 2020, 12:40 a.m.