CalculateSynergy: Calculate the Synergy Scores for Drug Combinations

Description Usage Arguments Value Author(s) Examples

View source: R/calculate_synergy_score.R

Description

CalculateSynergy is the main function for calculating synergy scores based on model(ZIP, Bliss, Loewe, and HSA) from one dose-response matrix.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
CalculateSynergy(
  data,
  method = c("ZIP", "HSA", "Bliss", "Loewe"),
  Emin = NA,
  Emax = NA,
  adjusted = TRUE,
  correct_baseline = "non",
  iteration = 10,
  seed = 123
)

Arguments

data

A list object generated by function ReshapeData.

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 ZIP and Loewe.

Emax

The expected maximum response value in the 4 parameter log-logistic model. It is used while calling ZIP and Loewe.

adjusted

A logical value. If it is TRUE, the 'adjusted.response.mats' will be used to calculate synergy scores. If it is FALSE, the raw data ('dose.response.mats') will be used to calculate synergy scores.

correct_baseline

A character value. It indicates the method used for baseline correction. Available values are:

  • non No baseline correction.

  • part Adjust only the negative values in the matrix.

  • all Adjust all values in the matrix.

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.

Value

This function will add 1 or 2 elements into inputted data list:

This function also add mean of synergy scores across whole combination matrix to the data$drug_pair table.

Author(s)

Examples

1
2
3
data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
scores <- CalculateSynergy(data)

Example output



synergyfinder documentation built on April 4, 2021, 6 p.m.