readSample: Read Sample

Description Usage Arguments Value Warning Author(s) Examples

View source: R/chicago.R

Description

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

Usage

1

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.

Author(s)

Mikhail Spivakov, Jonathan Cairns, Paula Freire Pritchett

Examples

1
2
3
4
5
6
7
8
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)

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