readRegionGRL {LOLA} | R Documentation

## This function takes a region annotation object and reads in the regions, returning a GRangesList object of the regions.

### Description

This function takes a region annotation object and reads in the regions, returning a GRangesList object of the regions.

### Usage

    readRegionGRL(
      dbLocation,
      annoDT,
      refreshCaches = FALSE,
      useCache = TRUE,
      limit = NULL
    )

### Arguments

`dbLocation` | folder of regiondB
`annoDT` | output of readRegionSetAnnotation().
`refreshCaches` | should I recreate the caches?
`useCache` | uses simpleCache to cache and load the results
`limit` | for testing purposes, limit the nmber of files read. NULL for no limit (default).

### Value

GRangesList object

### Examples

    dbPath = system.file("extdata", "hg19", package="LOLA")
    regionAnno = readRegionSetAnnotation(dbLocation=dbPath)
    regionGRL = readRegionGRL(dbLocation= dbPath, regionAnno, useCache=FALSE)

[Package LOLA version 1.18.1 Index]