Learn R Programming

LOLA (version 1.2.2)

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

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

Run the code above in your browser using DataLab