# load detected DMRs:
data(DMRs)
# annotate the DMRs with a GRanges object:
data(promoters)
DMRs.anno <- annotateGRanges(object = DMRs,
regions = promoters,
name = 'Promoter',
regionInfo = 'acc_no')
DMRs.anno
Run the code above in your browser using DataLab