Description Usage Arguments Details Value Author(s) See Also Examples
This function provides a user friendly way to construct a list for input
to the function stepWithinNorm
. The list indicates
intended biases for correction and models for stepwise normalization.
1 2 3 | makeStepList(A = c("median", "rlm", "loess"), PT = c("median", "rlm",
"loess"), PL = c("median", "rlm", "loess"), Spatial2D = c("rlm2D",
"loess2D", "aov2D", "spatialMedian"))
|
A |
A character string specifying the normalization models for the adjustment of intensity or A bias:
The user can specify any of these three choices and the selected
model will be compared based the goodness fit and model parsimony;
If the correction of the $A$ bias is not desired, the user can set
|
PT |
A character string specifying the normalization models for the adjustment of print-tip or PT bias:
If the correction of the $PT$ bias is not desired, the user can set
|
PL |
A character string specifying the normalization models for the adjustment of well-plate or PL bias:
If the correction of the $PL$ bias is not desired, the user can set
|
Spatial2D |
A character string specifying the normalization models for the adjustment of spatial 2D bias:
If the correction of the $PL$ bias is not desired, the user can set
|
This function provides a user friendly way to specify the parameter
wf.loc
for the main stepwise normalization function
stepWithinNorm
; see examples for details.
An object of class "list" for input to the stepWithinNorm
function.
Yuanyuan Xiao, yxiao@itsa.ucsf.edu,
Jean Yee Hwa Yang, jean@biostat.ucsf.edu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Examples use swirl dataset, for description type ? swirl
data(swirl)
# To use the default parameters, which adjusts A, PT, PL and Spatial2D
# biases sequentially and compares all models available, simple type
wf.loc <- makeStepList()
# To apply loess for the A bias, and to omit the Spatial2D step
wf.loc <- makeStepList(A=("loess"), Spatial2D=NULL)
# To compare only rlm and loess in the A bias step, and other biases as default
wf.loc <- makeStepList(A=c("rlm","loess"))
# input to the stepWithinNorm function
## Not run:
step.swirl1 <- stepWithinNorm(swirl[,1],wf.loc=wf.loc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.