Learn R Programming

OSAT (version 1.20.0)

gExperimentSetup-class: Class "gExperimentSetup"

Description

A class stores all relevant informations related to the experimantal sample assgnment.

Arguments

Details

Function create.experiment.setup() create a block randomized experiment assignment, without optimization step.

Functions optimal.shuffle() and optimal.block optimize setup using different optimization methods.

Functiion create.optimized.setup() create a optimized setup directly.

See Also

MSAroboticPlate

Examples

Run this code
library("OSAT")
# data as an example
inPath <- system.file("extdata", package="OSAT")
pheno <- read.table(file.path(inPath, 'samples.txt'), header=TRUE, sep="t")

## create object to hold sample information
gs <- setup.sample(pheno,  optimal=c("SampleType", "Race", "AgeGrp"), strata=c("SampleType") )
gs

gc <- setup.container(IlluminaBeadChip96Plate, 6, batch='plates')
gc

gSetup0 <- create.experiment.setup(sample=gs, container=gc)

Run the code above in your browser using DataLab