Compute ZIP delta score
Source:R/computeSynergy.R
computeZIPdelta-TreatmentResponseExperiment-method.RdFollowing the calculation of ZIP delta score as in Appendix A3. See reference for details.
Compute ZIP delta score as described in the original paper.
Usage
# S4 method for TreatmentResponseExperiment
computeZIPdelta(object, residual = "logcosh", nthread = 1L, show_Rsqr = FALSE)Arguments
- object
TreatmentResponseExperiment The
TreatmentResponseExperimentfrom which to extract assaysmono_profileandcombo_viabilityto compute ZIP delta scores.- residual
characterMethod used to minimise residual in fitting curves. 3 methods available:c("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.- nthread
integerNumber of cores used to perform computation. Default 1.- show_Rsqr
logicalWhether to show the 2-way curve fitting quality in the result. Default FALSE.
References
Yadav, B., Wennerberg, K., Aittokallio, T., & Tang, J. (2015). Searching for Drug Synergy in Complex Dose–Response Landscapes Using an Interaction Potency Model. Computational and Structural Biotechnology Journal, 13, 504–513. https://doi.org/10.1016/j.csbj.2015.09.001
Examples
if (FALSE) {
tre <- computeZIPdelta(tre, residual = "Cauchy", nthread = 2L)
}