regionMapping-methods: regionMapping-methods

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
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)

RnBeads documentation built on March 3, 2021, 2 a.m.