computeZIP: Computes ZIP Null References

View source: R/computeSynergy.R

computeZIPR Documentation

Computes ZIP Null References

Description

Predict the additive response of a treatment combination under the ZIP null assumption.

Usage

computeZIP(
  treatment1dose,
  HS_1,
  EC50_1,
  E_inf_1,
  treatment2dose,
  HS_2,
  EC50_2,
  E_inf_2
)

Arguments

treatment1dose

numeric a vector of concentrations for treatment 1

HS_1

numeric Hill coefficient of treatment 1

EC50_1

numeric relative EC50 of treatment 1.

E_inf_1

numeric viability produced by the maximum attainable effect of treatment 1. Default 0 by the original paper.

treatment2dose

numeric a vector of concentrations for treatment 2

HS_2

numeric Hill coefficient of treatment 2

EC50_2

numeric relative EC50 of treatment 2.

E_inf_2

numeric viability produced by maximum effect of treatment 2. Default 0 by the original paper.

Value

numeric expected viability under ZIP null assumption.

Examples

(zip <- computeZIP(
  treatment1dose = c(0.1, 0.01, 0.001),
  treatment2dose = c(1, 0.1, 0.01),
  HS_1 = rep(1, 3), HS_2 = rep(1.2, 3),
  EC50_1 = rep(0.01, 3), EC50_2 = rep(0.1, 3),
  E_inf_1 = rep(0, 3), E_inf_2 = rep(0.1, 3)
))


bhklab/PharmacoGx documentation built on April 18, 2024, 3:13 a.m.