loadRegionDB {LOLA} | R Documentation

## Helper function to annotate and load a regionDB, a folder with subfolder collections of regions.

### Description

Helper function to annotate and load a regionDB, a folder with subfolder collections of regions.

### Usage

    loadRegionDB(dbLocation, useCache = TRUE, limit = NULL,
      collections = NULL)

### Arguments

`dbLocation` | folder where your regionDB is stored, or list of such folders
`useCache` | uses simpleCache to cache and load the results
`limit` | You can limit the number of regions for testing. Default: NULL (no limit)
`collections` | Restrict the database loading to this list of collections

### Value

regionDB list containing database location, region and collection annotations, and regions GRangesList

### Examples

    dbPath = system.file("extdata", "hg19", package="LOLA")
    regionDB = loadRegionDB(dbLocation=dbPath)

[Package LOLA version 1.14.0 Index]