readRegionGRL {LOLA} | R Documentation |
This function takes a region annotation object and reads in the regions, returning a GRangesList object of the regions.
readRegionGRL( dbLocation, annoDT, refreshCaches = FALSE, useCache = TRUE, limit = NULL )
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). |
GRangesList object
dbPath = system.file("extdata", "hg19", package="LOLA") regionAnno = readRegionSetAnnotation(dbLocation=dbPath) regionGRL = readRegionGRL(dbLocation= dbPath, regionAnno, useCache=FALSE)