Description Usage Arguments Details Value Note Author(s) References See Also Examples
This functionction is used to estimate the absorbance values caused by the drug. Next, the estimates are used to correct the absorbance measures for all experiments using the drug.
1 2 3 4 5 6 | drugColorCorrection(A.data = A.data, weights = "fitted", fitted.a = FALSE,
contr = c("sum", "helmert", "treatment"), outlier.test = 3,
outlier.iter = 2, varpower.min = 0.001, varpower.iter = 50,
parametrisation = "unrestricted",
update = TRUE, save = TRUE, progressbar = "text",
shiny.input = NULL, session = NULL)
|
A.data |
An A.data object created by the function |
weights |
Either |
fitted.a |
If FALSE the heteroschedastic variance is fitted according |δα + β|^{2ξ}σ_{ε}^2 and if TRUE it is fitted according to |α|^{2ξ}σ^2 |
contr |
The contrast used when fitting the normalisation model. This can be be either of |
outlier.test |
Numeric value indicating the number of standard deviations an obserbance measure should be from the estimated mean in order to be deemed an outlier. Defaults to 3. |
outlier.iter |
Numeric value indicating the number of iterations the outlier.test should be run. Defaults to |
varpower.min |
Numeric value indicating the convergence criterion for fitted weight for the variance. Defeaults to |
varpower.iter |
Numeric value determining the number of allowed iterations for fitting the weight. |
parametrisation |
The parametrisation used for fitting the model can be either of |
update |
Should the analysis be updated or run from scratch. When set to |
save |
Should the data be saved. Defeaults to |
progressbar |
The type of progress bar used to show how far along the function is. Can be either |
shiny.input |
Used for the shiny server. |
session |
Used for the shiny server. |
This function is used to correct for absorbance measures caused by the drug itself. This is the case for drugs with colour, and drugs that interacts with the MTS assy. To gain precise estimates it is necessary to account for the elevated absorbance values when estimating the cell count. To use this function for the purpose it is necessary to setup a number of plates where each concentration used in the experiment is presented but no cells are added. The name used in place of a cell line name must be specified in the function createMetaData
using the argument correctionname
.
The ouput of the function is an A.data object of class drugColorCorrection
. This is a list with the following component
meta.list |
This is a list of meta data objects. |
call |
A list containing information regarding the call to the function. |
auxiliary |
List of auxiliary data used by other functions. |
data |
List of data frames. The colour corrected Absorbance data are stored in |
drug.color.correct |
Contains the results of the fitted dose reponse experiments for colour correction. |
In the data.frame
raw.data
the column absorbance.nc
corresponds to the uncorrected absorbance measurements and the the column absorbance
contains the corrected ones.
The element background.list
within drug.color.correct
contains the fitted abosorbance values for the various concentrations:
Concentration |
The concentrations |
BC |
The absorbance associated with the drug at the concentration. |
lo |
The lower limit of the 95% CI for |
up |
The upper limit of the 95% CI for |
BC2 |
The absorbance associated with the drug at each concentration in relation to the control. |
Conc |
The concentrations on a molar |
After the data have been read into R the need to be preprocessed. If any drug colour correction plates have been established continue to the funktion drugColorCorrection
otherwise continue to the function bgModel
.
The function was written at department of haematology, Aalborg University Hospital and maintained by Steffen Falgreen.
Steffen Falgreen et al. Exposure time independent summary statistics for assessment of drug dependent cell line growth inhibition (2013)
createMetaData
,readDBFData
,bgModel
,plotdrugColorCorrection
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | require(DoseR)
## load Dose Response data
data(A.data)
A.data <-
drugColorCorrection(A.data = A.data,
progressbar = "text", save = FALSE)
## Plot of the drug specific Absorbance measures with an 95% confidence interval.
plotdrugColorCorrection(A.data=A.data, type.plot = c("output"))
## Plot of the absorbance values. Use this plot for dagnostics of each dose response
## experiment. Plates that are not fitted adequately should be removed a plate is found
## In the plot to the left, the raw data is shown, the middle plot shows the absorbance values
## corrected in the conventional way, and the right plot shows the model corrected absorbance values.
par(mfrow = c(2,3))
plotdrugColorCorrection(A.data = A.data,
drugs = "Doxorubicin",
set.par = FALSE,
type.plot = c("raw"))
plotdrugColorCorrection(A.data = A.data,
drugs = "Rituximab",
set.par = FALSE,
type.plot = c("raw"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.