Description Usage Arguments Author(s) Examples
Get results from lasso model function
1 2 3 4 5 6 7 8 9  | result.lassoModel(lassoModel,
                  position = c(2,1,1),
                  names = c("TTR","DFS","OS"),
                  dig = 5)
getModelMatrix(expr.matrix,
               design,
               model,
               cut.off = NULL,
               position = 1)
 | 
1.result.lassoModel:
lassoModel | 
 the result from cox.optimized2 and bootstrap.lasso series  | 
position | 
 the position of one model you want  | 
names | 
 the name of one model like DFS  | 
dig | 
 digits of correlation of model genes  | 
2.getModelMatrix:
expr.matrix | 
 a log scale expression matrix  | 
design | 
 a design object  | 
model | 
 result from result.lassoModel  | 
cut.off | 
 Default is NULL.If you set a numeric,it would produce a score status column  | 
position | 
 the position of one model you want  | 
Weibin Huang<654751191@qq.com>
1 2 3 4 5 6 7 8 9 10 11 12 13  | ## This is a simulative process and NOT RUN
model <- result.lassoModel(l1,
                           position = 1,
                           names = "ROC",
                           dig = 5)
View(model[[1]])
## get model matrix
model.mt <- getModelMatrix(expr.matrix = data.fpkm,
                           design = design.train,
                           model = model)
View(model.mt$metadata)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.