plotMeth {BiSeq} | R Documentation |
This function plots the raw and the smoothed methylation data for one sample and a given region. The smoothed data is shown as a line (one line per CpG cluster) and the raw data is shown as points with color intensities proportional to the coverage.
plotMeth(object.raw, object.rel, region, col.lines, lwd.lines, col.points, ...)
object.raw |
A |
object.rel |
A |
region |
A |
col.lines |
OPTIONAL. The color for the line representing the smoothed methylation values. |
lwd.lines |
OPTIONAL. The line width for the line representing the smoothed methylation values. |
col.points |
OPTIONAL. The color for the points representing the raw methylation levels. |
... |
Other graphical parameters passed to the |
Katja Hebestreit
plotSmoothMeth
, plot
data(rrbs) data(predictedMeth) region <- GRanges(seqnames="chr1", ranges=IRanges(start = 875200, end = 875500)) plotMeth(object.raw = rrbs[,6], object.rel = predictedMeth[,6], region = region)