View source: R/nlme_fit_prep.R
| normalizeComboData | R Documentation |
normalizeComboData returns normalized intensities for the drug treated
wells with respect to controls - column normalized_intensity.
Like normalizeData, the TAG column is replaced with
lib_drug and dose columns, but also treatment (S or C)
, DRUG_ID_anch, CONC_anch and anchor columns.
Combination treatments (C) are treated as if the library alone is to be
fitted.
normalizeComboData(myDat, trim = T, neg_control = "NC-1", pos_control = "B")
myDat |
a GDSC raw data data frame. |
trim |
logical indicating whether to trim normalized values to the range
0 to 1. default |
neg_control |
The tag used to recognise a negative control well - the upper end of the dynamic range. |
pos_control |
The tag used to recognise a positive control well - the lower end of the dynamic range. |
removeFailedDrugs, removeMissingDrugs,
setConcsForNlme, prepNlmeData
data("gdsc_example") # Need a combo example here
gdsc_example <- removeFailedDrugs(gdsc_example)
gdsc_example <- removeMissingDrugs(gdsc_example)
gdsc_example <- normalizeComboData(gdsc_example)
gdsc_example <- setConcsForNlme(gdsc_example)
nlme_data <- prepNlmeData(gdsc_example, "COSMIC_ID")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.