OGREDataSetFromDir: BuildOGREDataSetFromDir

View source: R/main.R

OGREDataSetFromDirR Documentation

BuildOGREDataSetFromDir

Description

Builds a OGREDataset from user specified directories containing datasets for which an overlap between query and subject is to be calculated. A OGREDataset is a GenomicRangesList which stores datasets in a list like structure and possible metadata information.

Usage

OGREDataSetFromDir(queryFolder, subjectFolder)

Arguments

queryFolder

A character path pointing to the directory where your query dataset is located.

subjectFolder

A character path pointing to the directory where your subject dataset(s) are located.

Value

A OGREDataSet.

Examples

myQueryFolder <- file.path(system.file('extdata', package = 'OGRE'),"query")
mySubjectFolder <- file.path(system.file('extdata', package = 'OGRE'),"subject")
myOGRE <- OGREDataSetFromDir(queryFolder=myQueryFolder,subjectFolder=mySubjectFolder)

svenbioinf/OGRE documentation built on Jan. 30, 2023, 10:55 p.m.