regionMapping,RnBSet-method {RnBeads} | R Documentation |
get the mapping of regions in the RnBSet object to methylation site indices in the RnBSet object
## S4 method for signature 'RnBSet' regionMapping(object, region.type)
object |
Dataset as an object of type inheriting |
region.type |
region type. see |
A list containing for each region the indices (as integers) of sites that belong to that region
Fabian Mueller
library(RnBeads.hg19) data(small.example.object) logger.start(fname=NA) promoter.probe.list <- regionMapping(rnb.set.example,"promoters") #get the number of CpGs per promoter in the dataset: sapply(promoter.probe.list,length)