Learn R Programming

LOLA (version 1.2.2)

mergeRegionDBs: Given two regionDBs, (lists returned from loadRegionDB()), This function will combine them into a single regionDB. This will enable you to combine, for example, LOLA Core databases with custom databases into a single analysis.

Description

Given two regionDBs, (lists returned from loadRegionDB()), This function will combine them into a single regionDB. This will enable you to combine, for example, LOLA Core databases with custom databases into a single analysis.

Usage

mergeRegionDBs(dbA, dbB)

Arguments

dbA
First regionDB database.
dbB
Second regionDB database.

Value

A combined regionDB.

Examples

Run this code
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbPath)
combinedRegionDB = mergeRegionDBs(regionDB, regionDB)

Run the code above in your browser using DataLab