BI_result.lassoModel: Get results from lasso model function

Description Usage Arguments Author(s) Examples

Description

Get results from lasso model function

Usage

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)

Arguments

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

Author(s)

Weibin Huang<654751191@qq.com>

Examples

 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)

shijianasdf/BasicBioinformaticsAnalysisFromZhongShan documentation built on Jan. 3, 2020, 10:08 p.m.