# NOT RUN {
# example of a raw methylation data as a text file
read.table(system.file("extdata", "control1.myCpG.txt",
package = "methylKit"),
header=TRUE,nrows=5)
data(methylKit)
# example of a methylRaw object
head(methylRawList.obj[[1]])
str(head(methylRawList.obj[[1]]))
library(GenomicRanges)
#coercing methylRaw object to GRanges object
my.gr=as(methylRawList.obj[[1]],"GRanges")
# }
Run the code above in your browser using DataLab