Convenience wrapper for qsea::getRegions(), returning the genomic windows.

getWindows(qseaSet)

Arguments

qseaSet

qseaSet. Input object. Default: none (must be supplied).

Value

A GenomicRanges::GRanges of windows.

Examples

data(exampleTumourNormal, package = "mesa")
exampleTumourNormal %>% getWindows() %>% head()
#> GRanges object with 6 ranges and 1 metadata column:
#>       seqnames            ranges strand | CpG_density
#>          <Rle>         <IRanges>  <Rle> |   <numeric>
#>   [1]        7 25002001-25002300      * |     5.50911
#>   [2]        7 25005001-25005300      * |    13.40796
#>   [3]        7 25008601-25008900      * |     5.56726
#>   [4]        7 25011301-25011600      * |     5.10095
#>   [5]        7 25017601-25017900      * |     8.38014
#>   [6]        7 25017901-25018200      * |    17.86376
#>   -------
#>   seqinfo: 22 sequences from BSgenome.Hsapiens.NCBI.GRCh38 genome