Description Usage Arguments Value Examples
View source: R/correctEdgeEffect.R
This function subtract the incubation (or edge) effect from the observed signal intensity to recover the true signal intensity.
If the incubation effect has already been estimated by fitEdgeEffect()
function, the values in the edgeFactor column will be used.
Otherwise, this function will first call fitEdgeEffect()
function to estimate the edge effect.
1 2 3 4 5 6 7 8 9 | correctEdgeEffect(
screenData,
estimateMethod = "loess",
useNeg = TRUE,
useLowConcentrations = 0,
span = 1,
correctMethod = "bliss",
exclude = c()
)
|
screenData |
a data frame containing screening results generated by |
estimateMethod |
a character string specifying the method used for estimating the shape and strength of edge effect. Currently two methods are supported: 'loess', which uses a local regression model to estimate edge effect; 'sigmoid', an experimental feature, which uses use a 2D-sigmoid model to estimate edge effect. The "loess" method is suitable for both regular incubation effect, such as edge effect, and irregular incubation effect. But sometimes it tends to over-smooth the edge effect when the edge effect is rectangular. In this case, "sigmoid" method can better capture the shape of edge effect. But the "sigmoid" method can not deal with incubation effect with irregular shape. |
useNeg |
a logical value. If TRUE, only negative controls are used to estimate edge effect. Otherwise, all the wells are used for edge effect estimation. |
useLowConcentrations |
a integer value. In addition to negative controls, sample wells with low concentrations of compounds can be considered as 'de facto' negative controls and included in edge effect estimation. The default value is 0, means no sample wells are used. If the value n >= 1, the n lowest concentrations will be used. |
span |
a numeric value. The span parameter for |
correctMethod |
a character string specifying the method used for subtracting the edge effect. Currently two methods 'bliss' and 'linear' are supported.
If |
exclude |
a list of samples that should be excluded when performing edge effect correction |
This function will add one column, normVal.cor
, which is the normalized viability corrected for incubation/edge effect, to the input data frame.
1 2 3 4 | # load drug screen dataset
data('screenData_normalized')
screenData_corrected <- correctEdgeEffect(screenData_normalized, estimateMethod = 'loess',
useNeg = TRUE, useLowConcentrations = 0, span =1, correctMethod = 'bliss')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.