tnsInteraction,TNS-method {RTNsurvival} | R Documentation

## Survival analysis for dual regulons

### Description

A generic call to 'tnsCoxInteraction' and 'tnsKmInteraction' functions.

### Usage

    ## S4 method for signature 'TNS'
    tnsInteraction(tns, ..., verbose = TRUE)

### Arguments

`tns` | A TNS object, which must have passed GSEA2 analysis.
`...` | Parameters passed to `tnsKmInteraction` and `tnsCoxInteraction` functions.
`verbose` | A logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE).

### Value

A TNS object evaluated by the 'tnsKmInteraction' and 'tnsCoxInteraction' functions.

### Examples

    # load survival data
    data(survival.data)

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

    stns <- tni2tnsPreprocess(stni, survivalData = survival.data,
    keycovar = c('Grade','Age'), time = 1, event = 2)
    stns <- tnsGSEA2(stns)

    # survival analysis for dual regulons
    # stns <- tnsInteraction(stns, stepFilter = FALSE)

[Package RTNsurvival version 1.11.2 Index]