Description Details Slots Accessors Related Methods See Also Examples
A class stores all relevant informations related to the experimantal sample assgnment.
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.
expSetup:Object of class "data.frame". A data
frame represents the sample placement to well locations in the container.
data:Object of class "list". A list that hold
a gSample object, a gContainer object and assignment
link the two objects.
summaryInfo:Object of class "list". Some
summary of the sample, container and assignment.
metadata:Object of class "list". Metadata of
the object.
signature(x = "gExperimentSetup"): Get the chip/plate assembly used for container.
signature(x = "gExperimentSetup"): Return the
gSample object.
: ...
signature(x = "gExperimentSetup"): Get the metadata.
signature(x = "gExperimentSetup"): Set the metadata.
signature(x = "gExperimentSetup", y =
"MSAroboticPlate"): A method map the experiment setup to a set of MSA 96
wells robotic plates.
signature(x = "gExperimentSetup", y = "missing"):
Visual
signature(object = "gExperimentSetup"): ...
signature(object = "gExperimentSetup"): ...
: Return a data frame with linked sample and container information.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.