Description Usage Arguments Details Value Note References See Also Examples
Apply trimmed mean polish to data
1 2 3 |
dataMatrix |
Data frame or numeric matrix. Columns are plates, and rows are plate wells. |
plateRows, plateCols |
Number of rows/columns in plate. |
dataRows, dataCols |
Optional integer vector. Indicate which row/column numbers from the dataMatrix should be normalized. If NULL then all rows/columns from the dataMatrix are used. |
trimFactor |
Optional trim value to be used in trimmed polish. It should be between 0 and 0.5. Default is 0.2. |
wellCorrection |
Optional logical. If TRUE then individual wells are corrected based on spatial bias. |
biasMatrix |
Optional data frame or numeric matrix, in the same format as dataMatrix and with the same plateRows and plateCols specifications. If NULL then normalized data is used as bias template. |
biasCols |
Optional integer vector. Indicate which column numbers from biasMatrix or normalized dataMatrix (subset of dataCols) should be used to calculate bias template. Control plates or selection of dataMatrix plates to be used for well correction. If NULL then all plates of biasMatrix or normalized dataMatrix are used. |
Spatial Polish And Well Normalization (SPAWN) uses a trimmed mean polish on individual plates to remove row and column effects. Data from each well location on each plate are initially fitted to the same model as the R score. Model parameters are estimated with an iterative polish technique but with a trimmed mean, rather than a median, as a measure of central tendency for row and column effects. The residuals are rescaled by dividing by the median average deviation of their respective plates. Well correction uses a bias template, which can either be the normalized plates themselves or be supplied externally (and SPAWN normalized before application). At each well location of this bias template, a median of all plates is calculated and subtracted from the normalized plates, thus correcting for well location bias.
Numeric matrix of normalized data in the same format as dataMatrix
For information on how to arrange your dataset for dataMatrix, please see (ex_dataMatrix
)
Other normalization methods: normLoess
,
normMedFil
, normRobZ
,
normR
, normZ
1 2 3 4 5 6 7 8 9 | ## load dataset
data(ex_dataMatrix)
## apply SPAWN method with default trim factor and without well correction
ex_normMatrix <- normSPAWN(dataMatrix = ex_dataMatrix, dataCols = 5:10,
plateRows = 8, plateCols = 10, trimFactor = 0.2)
## apply SPAWN method with default trim factor and with well correction
ex_normMatrix <- normSPAWN(dataMatrix = ex_dataMatrix, dataCols = 5:10,
plateRows = 8, plateCols = 10, trimFactor = 0.2, wellCorrection = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.