normSights | R Documentation |
Apply any of the available SIGHTS normalization methods
normSights(normMethod, dataMatrix, plateRows, plateCols, dataRows = NULL, dataCols = NULL, trimFactor = 0.2, wellCorrection = FALSE, biasMatrix = NULL, biasCols = NULL, seqFilter = TRUE)
normMethod |
Normalization method name from SIGHTS ('Z', 'RobZ', 'R', 'SPAWN', 'Loess', or 'MedFil') |
dataMatrix |
Data frame or numeric matrix. Columns are plates, and rows are plate wells. |
plateRows, plateCols |
Number of rows/columns in plate. Applies to normMethods 'R', 'SPAWN', 'Loess', and 'MedFil'. |
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 mean polish. It should be between 0 and 0.5. Default is 0.2. Applies to normMethod 'SPAWN'. |
wellCorrection |
Optional logical. If TRUE then individual wells are corrected based on spatial bias. Applies to normMethod 'SPAWN'. |
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. Applies to normMethod 'SPAWN'. |
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. Applies to normMethod 'SPAWN'. |
seqFilter |
Optional logical. If TRUE apply initial row median filter then standard filter, else just apply standard filter. Applies to normMethod 'MedFil'. |
One of the following SIGHTS normalization methods may be chosen: normZ
, normRobZ
, normR
, normSPAWN
, normLoess
, or normMedFil
. See their individual help pages for more details.
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 SIGHTS functions: plotSights
,
statSights
## load dataset data(ex_dataMatrix) ## choose a normalization method and provide relevant information ex_normMatrix <- normSights(dataMatrix = ex_dataMatrix, dataCols = 5:10, normMethod = 'RobZ')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.