readCollectionFiles {LOLA} | R Documentation

## Given a database and a collection, this will create the region annotation data.table; either giving a generic table based on file names, or by reading in the annotation data.

### Description

Given a database and a collection, this will create the region annotation data.table; either giving a generic table based on file names, or by reading in the annotation data.

### Usage

    readCollectionFiles(dbLocation, collection, refreshSizes = FALSE)

### Arguments

`dbLocation` | folder where your regionDB is stored.
`collection` | Collection folder to load
`refreshSizes` | should I recreate the sizes files documenting how many regions (lines) are in each region set?

### Value

A data.table annotating the regions in the collections.

### Examples

    dbPath = system.file("extdata", "hg19", package="LOLA")
    regionAnno = readCollectionFiles(dbLocation=dbPath, "ucsc_example")

[Package LOLA version 1.14.0 Index]