Description Usage Arguments Examples
Title
1 |
rs |
Risk score of patients |
y |
The time-to-event outcome, as a two-column matrix or |
npoint |
Integer: number of time points for calculating time-dependent AUC. |
col |
Color of the time-dependent AUC curve. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # load data
data(GBM)
data(PCGroup)
cv.fit1 <- cv.PCLasso(x = GBM$GBM.train$Exp,
y = GBM$GBM.train$survData,
group = PCGroup,
nfolds = 5)
# predict risk scores of samples in GBM.test
s <- predict(object = cv.fit1, x = GBM$GBM.test$Exp, type="link",
lambda=cv.fit1$cv.fit$lambda.min)
plotTDAUC(rs = s, y = GBM$GBM.test$survData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.