Description Usage Arguments Value
View source: R/CosmonetTesting.R
This function performes the model validation and prediction using the testing set D
. It generates the Kaplan-Meier curve resulting from the log-rank test between high and low-risk group and the distribution plot of prognostic index PI^{D}
computed using the signature genes and the optimal cutoff PI^{*,T}
obtained from the training set T
.
1 | CosmonetTesting(x, y, screenVars, beta, opt.cutoff)
|
x |
input testing matrix |
y |
response variable, |
screenVars |
screened variables obtained from BMD- or DAD-, or BMD+DAD-screening. |
beta |
regression coefficients estimated on the training set. |
opt.cutoff |
optimal cutoff selected adaptively on the training set |
The following objects are returned:
df |
data frame composed by prognostic index |
p.value |
resulting from the log-rank test (the significance level is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.