lumiR.batch {lumi} | R Documentation |
lumiR.batch(fileList, lib = NULL, sampleInfoFile = NULL, ...)
fileList |
a vector of file names or a directory keeping the data files in the format of .csv |
lib |
same as lumiR parameter lib (optional) |
sampleInfoFile |
a Tab-separated text file or a data.frame keeping the sample information (optional) |
... |
other parameters used by lumiR |
The function basically call lumiR for individual files and then combine the returns. The sampleInfoFile parameter is optional. It provides the sample information (for phenoData slot in LumiBatch object), it is a Tab-separated text file. ID column is required. It represents sample ID, which is defined based on the column names of BeadStudio output file. For example, sample ID of column "1881436070_A_STA.AVG_Signal" is "1881436070_A_STA". Another Label column is optional, which is sampleNames of LumiBatch object. All information of sampleInfoFile will be directly added in the phenoData slot in LumiBatch object.
A LumiBatch object which combines the individual LumiBatch object corresponding to each file
Pan Du
## fileList <- c('file1.csv', 'file2.cvs') ## x.lumi <- lumiR.batch(fileList)