PharmacoGx icon indicating copy to clipboard operation
PharmacoGx copied to clipboard

sensitivity.cutoff

Open p-smirnov opened this issue 7 years ago • 2 comments

@zhaleh-safikhani:

Can you check the drugSensSig function? The documentation for the sensitivity.cutoff feature says it is used as a filter for values out of range, but the actual line being run is this:

dd <- factor(ifelse(dd > sensitivity.cutoff, 1, 0), levels=c(0, 1))

Which one did we mean to implement? This looks like it makes a factor out of the data for logistic classification.

p-smirnov avatar Jul 10 '17 21:07 p-smirnov