CombinationIndex

class synergy.combination.CombinationIndex(drug1_model=None, drug2_model=None)[source]

Bases: DoseDependentSynergyModel2D

The Combination Index (CI) model of drug synergy.

Members

synergyarray_like, float

(0,1)=synergism, (1,inf)=antagonism

E_reference(d1, d2)[source]

Use the Schindler model to calculate a reference response.

fit(d1, d2, E, **kwargs)

Fit the model to data.

Parameters:
  • d1 (ArrayLike) – Concentration of drug 1

  • d2 (ArrayLike) – Concentration of drug 2

  • E (ArrayLike) – Effect of the combination of drugs at doses d1 and d2

  • kwargs (dict) –

    • use_jacobian: whether to use the model jacobian when fitting single-drug models

    • Additional keyword arguments for scipy.optimize.curve_fit()

Return ArrayLike:

Synergy values

property is_fit

True if the model has been fit to data.

property is_specified

True if each single-drug model is specified.