nCpG {DMRScan} | R Documentation |
Method nCpG
Get the number of CpGs i a region
Get the number of CpGs in a RegionList
nCpG(x) ## S4 method for signature 'Region' nCpG(x) ## S4 method for signature 'RegionList' nCpG(x)
x |
An opbject of type Region or RegionList |
The number of CpGs in an object
someEmptyRegions <- RegionList(3L) # The number of CpGs in this regions is 0 nCpG(someEmptyRegions)