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 Nov. 8, 2020, 7:40 p.m.