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
numericis a vector whose entries are the viability values in the range [0, 1].- treatment1dose
numerica vector of concentrations for treatment 1- HS_1
numericHill coefficient of treatment 1- E_inf_1
numericthe maximum attainable effect of treatment 1.- EC50_1
numericrelative EC50 of treatment 1.- treatment2dose
numerica vector of concentrations for treatment 2- HS_2
numericHill coefficient of treatment 2- E_inf_2
numericthe maximum attainable effect of treatment 2.- EC50_2
numericrelative EC50 of treatment 2.- is_pct
logicalwhether 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
}