plotAllClassMeans | R Documentation |
Create line plots for class means
plotAllClassMeans( allClassMeans, xRange = c(-250, 250), facet = TRUE, title = "Class means of replicate EM runs", myXlab = "CpG/GpC position", featureLabel = "TSS", baseFontSize = 12 )
allClassMeans |
A table of positions, fraction methylation, and classes for replicate EM runs |
xRange |
A vector of the first and last coordinates of the region to plot (default is c(-250,250)) |
facet |
Plot mean profiles separately as a facet_wrap plot (default=TRUE) |
title |
A title for the plot (default is "Class means of replicate EM runs") |
myXlab |
A label for the x axis (default is "CpG/GpC position") |
featureLabel |
A label for a feature you want to plot, such as the position of the TSS (default="TSS") |
baseFontSize |
The base font for the plotting theme (default=12 works well for 4x plots per A4 page) |
Returns a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.