Read And Merge

Share:

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)