Fast LXB file reader


This package provides functions to quickly read LXB parameter data. LXB is the format used by Luminex bead arrays and is based on the FCS v3.0 standard.


The package is available on CRAN so it can be installed like any other R package. For example, open R and type



Note that the functions in this package were written to run as fast as possible and with very specific LXB files in mind. It will not work with general files based on the FCS v3.0 standard and it must run on a little endian machine (e.g. Intel is ok, PowerPC is not). Adding support for more features of FCS v3.0 and other machines should be simple.

Here are some assumptions made:


## Typically your LXB files should be organized with one folder per
## plate, with each plate consisting of multiple wells and each well
## corresponding to one LXB file.  Assuming the folder 'plate1' contains
## all LXB files for the first plate, here is how to read all parameter
## data for plate 1 into a list of matrices (each list item is one well,
## each column in a matrix corresponds to one parameter):
y <- readLxb('plate1/*.lxb')

## It is now possible inspect individual wells, e.g. the dimensions of
## the first well are given by:

## .. and the names of the parameters for well 1 are given by:

## If the LXB files have names like "XXXX_B1.lxb" (where 'B1' indicates
## that the LXB file corresponds to the first well on the second row),
## then it is also possible to index 'y' by the well name, e.g.:

## .. which is the same as:

## You can see all well names (and the order of the wells in 'y') by
## typing:


Copyright (c) 2012, Björn Winckler. Released under the BSD 2-Clause license.