hitlogic {tcplfit2} | R Documentation |
Hit Logic (Discrete)
Description
Wrapper that computes discrete hitcalls for a provided concRespCore dataframe.
Usage
hitlogic(indf, newbmad = NULL, xs = NULL, ys = NULL, newcutoff = NULL)
Arguments
indf |
Dataframe similar to concRespCore input Must contain "conc" and "resp" columns if xs and ys are not provided. Must contain "cutoff" and "bmad_factor" columns if newbmad is not NULL. Must contain "top" and "ac50" columns. "conc" and "resp" entries should be a single string with values separated by |. |
newbmad |
(Deprecated) New number of bmads to use for the cutoff. |
xs |
List of concentration vectors that can be provided for speed. |
ys |
List of response vectors that can be provided for speed. |
newcutoff |
Vector of new cutoff values to use. Length should be equal to rows in indf. |
Value
Vector of hitcalls with length equal to number of rows in indf.
Examples
conc = rep(".03|.1|.3|1|3|10|30|100",2)
resp = rep("0|0|.1|.1|.5|.5|1|1",2)
indf = data.frame(top = c(1,1), ac50 = c(3,4), conc = conc, resp = resp,
stringsAsFactors = FALSE)
hitlogic(indf, newcutoff = c(.8,1.2))
[Package tcplfit2 version 0.1.6 Index]