nCpG {DMRScan}R Documentation

Method nCpG

Description

Method nCpG

Get the number of CpGs i a region

Get the number of CpGs in a RegionList

Usage

nCpG(x)

## S4 method for signature 'Region'
nCpG(x)

## S4 method for signature 'RegionList'
nCpG(x)

Arguments

x

An opbject of type Region or RegionList

Value

The number of CpGs in an object

Examples

someEmptyRegions <- RegionList(3L)
# The number of CpGs in this regions is 0
nCpG(someEmptyRegions)


[Package DMRScan version 1.4.6 Index]