get.experiment.setup: Get experiment assignment after optimization.

Description Usage Arguments Value Examples

View source: R/gSetup-class.R

Description

Return a data frame that contains sample and assigned well postion.

Usage

1

Arguments

x

A gExperimentSetup object.

Value

A data frame is returned in the order of initial sample data frame, with additional columns indicate assgined well position.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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
# demonstration only. nSim=5000 or more are commonly used.
gSetup <- create.optimized.setup(sample=gs, container=gc, nSim=500)

mySetup <- get.experiment.setup(gSetup)

OSAT documentation built on Nov. 8, 2020, 5:48 p.m.