helper_PT {dtComb} | R Documentation |
Helper function for PT method.
Description
The helper_PT
function estimates the optimized value of
given biomarkers for the PT method.
Usage
helper_PT(lambda, neg.set, pos.set)
Arguments
lambda |
a |
neg.set |
a |
pos.set |
a |
Value
A numeric
value for the estimated optimized value
Author(s)
Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz
Examples
# call data
data(exampleData1)
# define the function parameters
markers <- cbind(exampleData1$ddimer, exampleData1$log_leukocyte)
status <- factor(exampleData1$group, levels = c("not_needed", "needed"))
neg.set <- markers[status == levels(status)[1], ]
pos.set <- markers[status == levels(status)[2], ]
lambda <- 0.5
stat <- helper_PT(lambda, neg.set = neg.set, pos.set = pos.set)
[Package dtComb version 1.0.2 Index]