Description Usage Arguments Value Author(s) Examples
extra.surv help get survival data of a gene based on expression and design objects.Note that multiple genes would not be supported.
1 2 3 4 5 6 7 | extra.surv(expr.matrix,
design,
select,
event.status,
event.time,
event.lower,
mode=c("median","maxstat")[1])
|
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 |
a list containing P value of significant in univariate cox model and the metadata of survival information and binary gene expression
Weibin Huang<654751191@qq.com>
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.