# load the methylation data
data(methylationDataList)
#plot the low resolution profile at 10 Kb resolution
par(mar=c(4, 4, 3, 1)+0.1)
plotMethylationProfileFromData(methylationDataList[["WT"]],
methylationDataList[["met1-3"]],
conditionsNames=c("WT", "met1-3"),
windowSize = 20000, autoscale = TRUE,
context = c("CHG"))
## Not run:
# #plot the low resolution profile at 5 Kb resolution
# par(mar=c(4, 4, 3, 1)+0.1)
# plotMethylationProfileFromData(methylationDataList[["WT"]],
# methylationDataList[["met1-3"]],
# conditionsNames=c("WT", "met1-3"),
# windowSize = 5000, autoscale = TRUE,
# context = c("CG", "CHG", "CHH"),
# labels = LETTERS)
# ## End(Not run)
Run the code above in your browser using DataLab