R/GenomicRegionsNumber.R

##
## method GenomicRegionsNumber to extract regions number
##

##
## GenomicRegions - GenomicRegionsNumber
##

setMethod("GenomicRegionsNumber", "GenomicRegions", function(.Object) {
Chrs<-slot(.Object, "chr")
RegionsNumber<-length(Chrs)
return(RegionsNumber)
})

Try the PREDA package in your browser

Any scripts or data that you put into this service are public.

PREDA documentation built on May 6, 2019, 2:07 a.m.