BI_extra.surv: Get survival data of a gene based on expression and design...

Description Usage Arguments Value Author(s) Examples

Description

extra.surv help get survival data of a gene based on expression and design objects.Note that multiple genes would not be supported.

Usage

1
2
3
4
5
6
7
extra.surv(expr.matrix,
                 design,
                 select,
                 event.status,
                 event.time,
                 event.lower,
                 mode=c("median","maxstat")[1])

Arguments

expr.matrix

expression matrix

design

design object

select

a gene.Multiple genes are not supported

event.status

a colname of status

event.time

a colname of time

event.lower

the lower limit of the time

mode

Default is "median".You can also set a number of percentum or a decimal less than 1.When mode = "maxstat",the maxstat automatical selected cut-off strategy would be used

Value

a list containing P value of significant in univariate cox model and the metadata of survival information and binary gene expression

Author(s)

Weibin Huang<654751191@qq.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## This is a simulative process and NOT RUN
expr.matrix=train.fpkm
design = design.train
select = rocgenes[1]
event.status = "DFS.status"
event.time = "DFS.time"
event.lower = 89
mode="median"

## method = "median"
l1 <- extra.surv(expr.matrix,
                 design,
                 select,
                 event.status,
                 event.time,
                 event.lower,
                 mode="median")

## method = "maxstat"
l1 <- extra.surv(expr.matrix,
                 design,
                 select,
                 event.status,
                 event.time,
                 event.lower,
                 mode="maxstat")

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