Learn R Programming

LOLA (version 1.2.2)

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

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

Run the code above in your browser using DataLab