Estimate the projected Hill coefficient, efficacy, and potency
Source:R/computeSynergy.R
estimateProjParams.RdEstimate the projected shape parameter HS, efficacy E_inf and potency EC50
in the new dose-response curve of a drug after adding another drug to it
by fitting a 2-parameter dose-response curve.
Arguments
- dose_to
numerica vector of concentrations of the drug being added to- combo_viability
numericobserved viability of two treatments; target for fitting curve.- dose_add
numerica vector of concentrations of the drug added.- EC50_add
numericrelative EC50 of the drug added.- HS_add
numericHill coefficient of the drug added.- E_inf_add
numericEfficacy of the drug added.- residual
characterMethod used to minimise residual in fitting curves. 3 methods available:logcosh,normal,Cauchy. The default method islogcosh. It minimises the logarithmic hyperbolic cosine loss of the residuals and provides the fastest estimation among the three methods, with fitting quality in betweennormalandCauchy; recommanded when fitting large-scale datasets. The other two methods minimise residuals by considering the truncated probability distribution (as in their names) for the residual.Cauchyprovides the best fitting quality but also takes the longest to run.- show_Rsqr
logicalwhether to show goodness-of-fit value in the result.- conc_as_log
logicalindicates whether input concentrations are in log10 scale.- optim_only
logical(1)Should the fall back methods when optim fails- loss_args
listAdditional argument to thelossfunction. These get passed to losss viado.callanalagously to using....
Value
list
* HS_proj: Projected Hill coefficient after adding a drug
* E_inf_proj: Projected efficacy after adding a drug
* EC50_proj: Projected potency after adding a drug
* E_ninf_proj: Projected baseline viability by the added drug
* Rsqr: if show_Rsqr is TRUE, it will include the R squared value indicating the quality of the fit in the result.