Computes the Loewe additive combination index (CI) from its definition \( CI = \frac{x_1}{f_1^{-1}(E)} + \frac{x_2}{f_2^{-1}(E)} \)
Usage
loeweCI(
viability,
treatment1dose,
HS_1,
E_inf_1,
EC50_1,
treatment2dose,
HS_2,
E_inf_2,
EC50_2,
is_pct = FALSE
)
Arguments
- viability
numeric
is a vector whose entries are the viability values in the range [0, 1].- treatment1dose
numeric
a vector of concentrations for treatment 1- HS_1
numeric
Hill coefficient of treatment 1- E_inf_1
numeric
the maximum attainable effect of treatment 1.- EC50_1
numeric
relative EC50 of treatment 1.- treatment2dose
numeric
a vector of concentrations for treatment 2- HS_2
numeric
Hill coefficient of treatment 2- E_inf_2
numeric
the maximum attainable effect of treatment 2.- EC50_2
numeric
relative EC50 of treatment 2.- is_pct
logical
whether both the input viabiliy and E_inf are given in percentage ([0, 100]) rather than decimal ([0, 1]). Default FALSE.
Examples
if (FALSE) {
tre |>
endoaggregate(
assay="combo_viability",
Loewe = PharmacoGx::computeLoewe(
treatment1dose = treatment1dose,
treatment2dose = treatment2dose,
HS_1 = HS_1,
HS_2 = HS_2,
E_inf_1 = E_inf_1,
E_inf_2 = E_inf_2,
EC50_1 = EC50_1,
EC50_2 = EC50_2
),
by = assayKeys(tre, "combo_viability")
) -> tre
}