loadData: Read data according to the design file

Description Usage Arguments Details Value See Also Examples

View source: R/ELISAtools_IO.R

Description

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

Usage

1
loadData(design.file)

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

ExpID FileName Batch Num_Plate Date AnnotationFile Std_Conc Dir_Annotation Dir_StdConc
Exp1 file1.txt Batch1 1 9/18/2009 annote.txt stdConc.txt
Exp2 file2.txt Batch2 2 9/18/2009 annote.txt stdConc.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 |
| |

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.

See Also

elisa_batch-class elisa_plate-class elisa_run-class

Examples

1
2
file.dir<-system.file("extdata", package="ELISAtools")
loadData(file.path(file.dir,"design.txt"));

ELISAtools documentation built on Jan. 21, 2021, 5:08 p.m.