pos {DMRScan}R Documentation

Method pos

Description

Method pos

Get the chromosomal coordinates for a Region

Get the chromosomal coordinates for a list of regions in a RegionList object

Usage

pos(region)

## S4 method for signature 'Region'
pos(region)

## S4 method for signature 'RegionList'
pos(region)

Arguments

region

An opbject of type Region or RegionList

Value

An integer vector of positions for each probe site

Examples

#Number of probes is n = 10
nCpG <- 10
region <- Region(tValues    = rnorm(nCpG),
                 position   = 1:nCpG,
                 chromosome = "3")
## Genomic coordinates for Region
pos(region)

[Package DMRScan version 1.4.6 Index]