Learn R Programming

LOLA (version 1.2.2)

loadRegionDB: 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

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

Run the code above in your browser using DataLab