tnsCox-methods: Cox regression analysis for TNS class objects

Description Usage Arguments Value Examples

Description

Run Cox multivariate regression for regulons and other covariates.

Usage

1
2
## S4 method for signature 'TNS'
tnsCox(tns, regs = NULL, qqkeycovar = FALSE, verbose = TRUE)

Arguments

tns

A TNS object, which must have passed GSEA2 analysis.

regs

An optional string vector listing regulons to be tested.

qqkeycovar

A logical value. If TRUE, only the samples in the 2nd and 3rd quartils of 'keycovar' are used in the analysis. If FALSE, all samples are used (see tni2tnsPreprocess).

verbose

A logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE).

Value

Cox hazard models and statistics.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# load survival data
data(survival.data)

# load TNI-object
data(stni, package = "RTN")

stns <- tni2tnsPreprocess(stni, survivalData = survival.data, 
keycovar = c('Age','Grade'), time = 1, event = 2)
stns <- tnsGSEA2(stns)
stns <- tnsCox(stns, regs = c('PTTG1','E2F2','FOXM1'))
tnsGet(stns, "coxTable")

RTNsurvival documentation built on Nov. 12, 2020, 2 a.m.