readDataSetFromFolder: Read dataset(s) from folder

View source: R/methods.R

readDataSetFromFolderR Documentation

Read dataset(s) from folder

Description

readDataSetFromFolder() scanns queryFolder and subjectFolder for either .RDS/.rds or .CSV/.csv files and adds them to a OGREDataSet. Each region needs chromosome, start, end and strand information. (tabular file columns must be named accordingly). A unique ID and a name column must be present in the GenomicRanges object's metatdata and tabular file.

Usage

readDataSetFromFolder(OGREDataSet, type)

Arguments

OGREDataSet

A OGREDataSet.

type

character and one of query/subject.

Value

A OGREDataSet.

Examples

myOGRE <- makeExampleOGREDataSet()
myOGRE <- readDataSetFromFolder(myOGRE,type="query")
myOGRE <- readDataSetFromFolder(myOGRE,type="subject")

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