Learn R Programming

PharmacoGx (version 1.1.6)

computeSlope: Return Slope (normalized slope of the drug response curve) for an experiment of a pSet by taking its concentration and viability as input.

Description

Return Slope (normalized slope of the drug response curve) for an experiment of a pSet by taking its concentration and viability as input.

Usage

computeSlope(concentration, viability, trunc = TRUE, verbose = TRUE)

Arguments

concentration
[vector] A concentration range that the AUC should be computed for that range. Concentration range by default considered as not logarithmic scaled.
viability
[vector] Viablities correspondant to the concentration range passed as first parameter. The range of viablity values by definition should be between 0 and 100. But the viabalities greater than 100 and lower than 0 are also accepted.
trunc
[binary] A flag that identify if the viabality values should be truncated to be in the range of (0,100)
verbose
[boolean] If 'TRUE' the function will retrun warnings and other infomrative messages.