QC: QC

Description Usage Arguments Examples

View source: R/gUtils.R

Description

Provide a visual summary of the sample placement per plates, and Chi-squre test of dependence between plates and other considered variables from sample.

Usage

1
QC(object, main = NULL, ...)

Arguments

object

An object of class gExperimentSetup.

main

Mail title on the bar plot.

...

Additional plot parameters.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library("OSAT")
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") )
## create object that represents the used in the experiment
gc <- setup.container(IlluminaBeadChip96Plate, 6, batch='plates')
## create an optimized setup. 
# demonstration only. nSim=5000 or more are commonly used.
gSetup <- create.optimized.setup(sample=gs, container=gc, nSim=500)
QC(gSetup)

llrs/OSAT documentation built on May 23, 2019, 7:18 a.m.

Related to QC in llrs/OSAT...