Loewe
- class synergy.higher.Loewe(single_drug_models=None)[source]
The Loewe Additivity synergy model.
- E_reference(d)[source]
Return the expected effect of the combination of drugs at doses d1 and d2.
- Parameters:
d (ArrayLike) – doses (shape=(N,) or (M, N) where N is the number of drugs and M is the number of samples)
- Return ArrayLike:
Reference (additive) values of E at the given doses
- fit(d, E, **kwargs)
Fit the model to data.
- Parameters:
d (array_like) – Array of doses measured
E (array_like) – Array of effects measured at doses d
kwargs – Optional parameters to pass to scipy.optimize.curve_fit().
- Returns:
ArrayLike
- Return type:
The synergy of the drug combination at doses d
- property is_fit
True if the model has been fit to data.
- property is_specified
True if all single drug models are specified