getIC50Matrix | R Documentation |
Extract a matrix of IC50 values from a model statistics data frame.
getIC50Matrix(model_stats, drug_identifier = "drug", re_name = T, measure = "IC50")
model_stats |
the results of |
drug_identifier |
a character vector indicating which column of
nlme_stats to use as the "drug" in the IC50matrix. Normally this is the
The cell line column is named according to the |
re_name |
logical. Rename the drug columns to GDSCtools standard (Drug_..._IC50). Default is TRUE. |
measure |
character. Default to "IC50" but can also be set to "auc". |
a matrix of IC50s.
getModelCoef
data("gdsc_example") gdsc_example <- removeFailedDrugs(gdsc_example) gdsc_example <- removeMissingDrugs(gdsc_example) gdsc_example <- normalizeData(gdsc_example) gdsc_example <- setConcsForNlme(gdsc_example) nlme_data <- prepNlmeData(gdsc_example, "COSMIC_ID") ## Not run: nlme_model <- fitModelNlmeData(nlme_data, isLargeData = F) nlme_stats <- calcNlmeStats(nlme_model, nlme_data) ic50s <- getIC50Matrix(nlme_stats) aucs <- getIC50Matrix(nlme_stats, measure = "auc") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.