Helper function to annotate and load a regionDB, a folder with subfolder collections of regions.
loadRegionDB(dbLocation, useCache = TRUE, limit = NULL, collections = NULL)
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 |
regionDB list containing database location, region and collection annotations, and regions GRangesList
dbPath = system.file("extdata", "hg19", package="LOLA") regionDB = loadRegionDB(dbLocation=dbPath)#>#>#>#>#>#>