| plotSmoothMeth {BiSeq} | R Documentation |
This function plots the smoothed methylation data as lines for a given region and all given samples. It is also possible to average the data for groups of samples.
plotSmoothMeth(object.rel, region, groups, group.average, ...)
object.rel |
A |
region |
A |
groups |
OPTIONAL. A |
group.average |
OPTIONAL. A |
... |
Other graphical parameters passed to the |
Katja Hebestreit
plotMeth, plot
data(predictedMeth)
data(DMRs)
plotSmoothMeth(object.rel = predictedMeth,
region = DMRs[3] + 200,
groups = colData(predictedMeth)$group,
col=c("magenta", "blue"))
legend("topright",
lty=1,
legend=levels(colData(predictedMeth)$group),
col=c("magenta", "blue"))