Learn R Programming

Chicago (version 1.0.3)

readAndMerge: Read And Merge

Description

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

Usage

readAndMerge(files, cd, ...)

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.

See Also

readSample, mergeSamples

Examples

Run this code
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)

Run the code above in your browser using DataLab