readAndMerge: Read And Merge

Description Usage Arguments Value Author(s) See Also Examples

View source: R/chicago.R

Description

A wrapper that calls readSample() on a number of files, then mergeSamples().

Usage

1

Arguments

files

Character vector containing the locations of the files to read in.

cd

A chicagoData object, usually created with setExperiment.

...

Further arguments passed to mergeSamples.

Value

An object of class chicagoData.

Author(s)

Mikhail Spivakov, Jonathan Cairns, Paula Freire Pritchett

See Also

readSample, mergeSamples

Examples

1
2
3
4
5
6
7
8
filesDir <- file.path(system.file("extdata", package="Chicago"), "unitTestData")
files <- file.path(filesDir, dir(filesDir))
print(files) ##we will read in and merge these files

designDir <- file.path(system.file("extdata", package="Chicago"), "unitTestDesign")

cd <- setExperiment(designDir=designDir)
cd <- readAndMerge(files, cd)

Chicago documentation built on Nov. 8, 2020, 8:15 p.m.