Learn R Programming

Chicago (version 1.0.3)

readSample: Read Sample

Description

This function reads input data from a file, into a chicagoData object.

Usage

readSample(file, cd)

Arguments

file
The location of an input file FIXME more details!
cd
A chicagoData object.

Value

An object of class chicagoData.

Warning

The object intData(x) is updated by reference. Thus, intData(cd) will be altered. See vignette for further information.

Examples

Run this code
filesDir <- file.path(system.file("extdata", package="Chicago"), "unitTestData")
file <- file.path(filesDir, dir(filesDir))[1]
print(file) ##we will read in this file

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

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

Run the code above in your browser using DataLab