Description Usage Arguments Details Author(s) See Also Examples
Plot differentially methylated regions (DMRs) from tiling microarray data that were identified using the dmrFinder function. To plot DMRs identified using the dmrFind function, use the plotDMRs function.
1 |
dmr |
a list object as returned by dmrFinder. |
which.table |
a vector of indices identifying which tables in the dmr list to plot regions from. |
which.plot |
a vector of indices identifying which regions (rows) from each table to plot. |
legend.size |
cex argument for the legend (factor by which to magnify/shrink the legend). |
all.lines |
if TRUE, plot the smooth lines for all groups. If FALSE, only for the 2 groups being compared. |
all.points |
if TRUE, plot the points for all groups. If FALSE, only for the 2 groups being compared. |
colors.l |
a vector of line colors, one color for each group whose line is to be plotted (in alphabetical order). |
colors.p |
a vector of point colors, one color for each group whose points are to be plotted (in alphabetical order). |
outpath |
where to save the output pdf file. |
cpg.islands |
a table with columns "chr","start", and "end" for CpG islands to plot in the second panel. |
Genome |
the BSgenome object for the organism based upon which your array was designed. |
plotG |
if TRUE, a third panel of each DMR plot will show the difference between the median green channel value (after subtracting probe medians and correcting for gc content) between the 2 groups. If true, dat must be provided. |
dat |
if plotG=TRUE, this must be provided. It is the TilingFeatureSet object used when estimating the matrix of percent methylation estimates used in dmrFinder when it produced dmr. |
buffer |
Number of base pairs to plot on either side of each DMR candidate. |
plot.p |
set to FALSE if you want to plot the methlation values (the "l" output from dmrFinder) instead of the percentage methylation values (the "p" output). If dmrFinder was run on l instead of p, plot.p=FALSE necessarily. |
This function plots the differentially methylated regions (DMRs). The second panel shows the location of CpG's with ticks on the bottom (islands are colored) and the location of mcrbc recognition sites with ticks on the top.
Martin Aryee <aryee@jhu.edu>, Peter Murakami, Rafael Irizarry
plotDMRs
, regionPlot
, dmrFinder
, dmrFdr
1 | # See dmrFdr
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.