regionMapping,RnBSet-method {RnBeads}R Documentation

regionMapping-methods

Description

get the mapping of regions in the RnBSet object to methylation site indices in the RnBSet object

Usage

## S4 method for signature 'RnBSet'
regionMapping(object, region.type)

Arguments

object

Dataset as an object of type inheriting RnBSet.

region.type

region type. see rnb.region.types for possible values

Value

A list containing for each region the indices (as integers) of sites that belong to that region

Author(s)

Fabian Mueller

Examples


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)


[Package RnBeads version 2.10.0 Index]