Learn R Programming

designGG (version 1.1)

arrayUpdate: Update array allocation

Description

Update the allocation of samples on the arrays. This is a subfunction needed for updateDesign, but is not directly used.

Usage

arrayUpdate(array.allocation, condition.allocation, nRILs, nSlides)

Arguments

array.allocation
matrix with nArray rows and nRIL columns. Elements of 1/0 indicate this RIL (or strain) is/not selected for this array.
condition.allocation
matrix with nCondition rows and nRIL columns. Elements of 1/0 indicate this RIL (or strain) is/not selected for this condition.
nRILs
number of RILs or strains available for the experiment.
nSlides
total number of slides available for experiment.

Value

  • A list with the following two elements: new.array.allocation: an updated array allocation table new.condition.allocation: an updated condition allocation table

Details

This function is used only for designing a dual-channel experiment where samples need to be paired.

References

Y. Li, R. Breitling and R.C. Jansen. Generalizing genetical genomics: the added value from environmental perturbation, Trends Genet (2008) 24:518-524. Y. Li, M. Swertz, G. Vera, J. Fu, R. Breitling, and R.C. Jansen. designGG: An R-package and Web tool for the optimal design of genetical genomics experiments. BMC Bioinformatics 10:188(2009) http://gbic.biol.rug.nl/designGG

See Also

updateDesign