seqWithinNorm(marraySet, y = "maM", subset = TRUE, loss.fun = square, A = c("loess", "rlm", "median", "none"), PT = c("median", "rlm", "loess", "none"), PL = c("median", "rlm", "loess", "none"), Spatial2D = c("none", "aov2D", "rlm2D", "loess2D", "spatialMedian"), criterion = c("BIC", "AIC"))marrayRaw
or class marrayNorm, containing
intensity data for the batch of arrays to be normalized.maM.absloess function
rlm function
If not specified, loess normalization will be applied.
rlm function
loess function
If not specified, median normalization within print-tip will be applied.
rlm function
loess function
If not specified, median normalization within well-plate will be applied.
rlm function
loess function
If not specified, no normalization will be carried out in this step.
If no specification, BIC is used. Note that here we don't use
the criterion to choose normalization model in each step. Criterion
is calculated solely for informaion purpose.
marrayNorm, containing the
normalized intensity data.seqWithinNorm normalizes a slide in a sequential
fashion: $A$ -> $PT$ -> $PL$ -> Spatial2D. In each step
one kind of variation is targeted for correction, and the user chooses
the normalization method as desired. We calculate the AIC/BIC
criterion along the normalization steps, but they are not used for
selection of models.
stepWithinNorm, withinNorm,
fitWithin, fit2DWithin,
calcAIC, calcBIC.# Examples use swirl dataset, for description type ? swirl
data(swirl)
# Apply sequential normalization for the first slide
# default: loess(A)->median(PT)->median(PL)-> none (Spatial2D)
## Not run:
# res.swirl1 <- seqWithinNorm(swirl[,1])
#
# # normalized data
# norm.swirl <- res.swirl1[[1]]
#
# # sequential normalization information
# step.swirl <- res.swirl1[[2]]
#
# ## End(Not run)
# median(A)->median(PT)->median(PL)->none(Spatial2D)
res.swirl <- seqWithinNorm(swirl[,1], A="median",PT="median",PL="median",Spatial2D="none")
Run the code above in your browser using DataLab