Learn R Programming

ELISAtools (version 0.1.8)

loadData: Read data according to the design file

Description

Read the design file and then load the data according to the information in the design file.

Usage

loadData(design.file)

Value

a list of batches holding different runs of elisa, which could contain one or many elisa_plates with data and annotations for each plate.

Arguments

design.file

characters to specify the path and the file name of the design file.

Details

The design file contains all the information necessary to read data. It has the following format

ExpIDFileNameBatchNum_PlateDateAnnotationFileStd_ConcDir_AnnotationDir_StdConc
Exp1file1.txtBatch119/18/2009annote.txtstdConc.txt
Exp2file2.txtBatch229/18/2009annote.txtstdConc.txt

The return data is a list of batches (elisa_batch-class), which are made of one or many elisa runs(elisa_run-class) . The run could contain one or many elisa plates (elisa_plate-class) with data or annotation of each plate.

list|
|--batch1|
||--run1|
|||--plate1
|||--plate2
|--batch2|
||

See Also

elisa_batch-class elisa_plate-class elisa_run-class

Examples

Run this code
file.dir<-system.file("extdata", package="ELISAtools")
loadData(file.path(file.dir,"design.txt"));

Run the code above in your browser using DataLab