Read a Luminex File

Share:

Description

Read a Luminex raw output .xls file

Usage

1
2
read.luminex.xls (file,verbose = FALSE,sheets = NULL, assay_id=NULL, 
    na.strings = c("NA", "#DIV/0!"), ..., perl = "perl") 

Arguments

file

string. The file name.

verbose

Boolean. If TRUE, some debug messages are printed.

sheets

vector of strings. The names of the sheets to be read. If NULL, all sheets are read.

assay_id

string. Used to name the assay that generated the data file. If not provided, a random number is generated as the name.

na.strings

vector of strings. Strings to be mapped to NA.

...
perl

string. Command used to execute perl. If perl.exe is not in the path, the full path can be specified, e.g. "C:/Perl64/bin/perl.exe"

Examples

1
2
3
4
5
6
7
8
9
#begin=Sys.time()

# example from https://www.labkey.org/wiki/home/Documentation/page.view?name=luminexFileFormats
dat = read.luminex.xls(paste(system.file(package="nCal")[1],
    '/misc/02-14A22-IgA-Biotin-tiny.xls', sep=""), verbose=TRUE)
out = ncal(log(fi)~expected_conc, dat, return.fits = TRUE, plot.se.profile=FALSE)
out

#end=Sys.time();print(end-begin)