helper_PCL {dtComb} | R Documentation |
Helper function for PCL method.
Description
The helper_PCL
function estimates the optimized value of
given biomarkers for the PCL method.
Usage
helper_PCL(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_PCL(lambda, neg.set = neg.set, pos.set = pos.set)
[Package dtComb version 1.0.2 Index]