Description Usage Arguments Value Author(s) Examples
View source: R/calculate_synergy_score.R
CalculateSynergy
is the main function for calculating synergy scores
based on model(ZIP, Bliss, Loewe, and HSA) from one dose-response
matrix.
1 2 3 4 5 6 7 8 9 10 |
data |
A list object generated by function |
method |
A parameter to specify which models to use to calculate the synergy scores. Choices are "ZIP", "Bliss", "HSA" and "Loewe". Defaults to "ZIP". |
Emin |
The expected minimum response value in the 4 parameter
log-logistic model. It is used while calling |
Emax |
The expected maximum response value in the 4 parameter
log-logistic model. It is used while calling |
adjusted |
A logical value. If it is |
correct_baseline |
A character value. It indicates the method used for baseline correction. Available values are:
|
iteration |
An integer value. It indicates the number of iterations for synergy scores calculation on data with replicates. |
seed |
An integer or NULL. It is used to set the random seed in synergy scores calculation on data with replicates. |
This function will add 1 or 2 elements into inputted data
list:
scores A data frame. It contains synergy scores,
reference effects and fitted response values (only for "ZIP" model)
calculated by selected method
. If there are replicates in the
block, the mean values across all iterations for all the metrics
mentioned above will be output.
scores_statistics A data frame. It will be output if there is block have replicated response values. It contains the the statistics (including mean, standard deviation, standard error of mean and 95 and fitted response values (only for "ZIP" model) across results from iterations.
This function also add mean of synergy scores across whole combination
matrix to the data$drug_pair
table.
Shuyu Zheng shuyu.zheng@helsinki.fi
Jing Tang jing.tang@helsinki.fi
1 2 3 | data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
scores <- CalculateSynergy(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.