Description Usage Arguments Value
Perform sequential BATTing method.
1 2 3 |
y |
data frame containing the response. |
x |
data frame containing the predictors. |
censor.vec |
vector containing the censor status (only for TTE data , censor=0,event=1) - default = NULL. |
trt.vec |
vector containing values of treatment variable ( for predictive signature). Set trt.vec to NULL for prognostic signature. |
trtref |
code for treatment arm. |
type |
data type. "c" - continuous , "b" - binary, "s" - time to event : default = "c". |
n.boot |
number of bootstraps in BATTing step. |
des.res |
the desired response. "larger": prefer larger response. "smaller": prefer smaller response |
class.wt |
vector of length 2 used to weight the accuracy score , useful when there is class imbalance in binary data defaults to c(1,1) |
min.sigp.prcnt |
desired proportion of signature positive group size for a given cutoff. |
pre.filter |
NULL, no prefiltering conducted;"opt", optimized number of predictors selected; An integer: min(opt, integer) of predictors selected |
filter.method |
NULL, no prefiltering, "univariate", univaraite filtering; "glmnet", glmnet filtering, "unicart": univariate rpart filtering for prognostic case. |
it returns a list of signature rules consisting of variable names, directions, thresholds and the loglikelihood at each step the signatures are applied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.