densityPlot | R Documentation |
Density plots of methylation Beta values, primarily for QC.
densityPlot(dat, sampGroups = NULL, main = "", xlab = "Beta",
pal = brewer.pal(8, "Dark2"), xlim, ylim, add = TRUE, legend = TRUE,
...)
dat |
An |
sampGroups |
Optional sample group labels. See details. |
main |
Plot title. |
xlab |
x-axis label. |
pal |
Color palette. |
xlim |
x-axis limits. |
ylim |
y-axis limits. |
add |
Start a new plot? |
legend |
Plot legend. |
... |
Additional options to be passed to the plot command. |
This function produces the density plot component of the QC report. If sampGroups
is specified, group-specific colors will be used.
No return value. Plots are produced as a side-effect.
Martin Aryee aryee@jhu.edu.
qcReport
, mdsPlot
, controlStripPlot
, densityBeanPlot
if (require(minfiData)) {
groups <- pData(RGsetEx)$Sample_Group
densityPlot(RGsetEx, sampGroups=groups)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.