tnsInteraction,TNS-method {RTNsurvival} | R Documentation |
A generic call to 'tnsCoxInteraction' and 'tnsKmInteraction' functions.
## S4 method for signature 'TNS' tnsInteraction(tns, ..., verbose = TRUE)
tns |
A TNS object, which must have passed GSEA2 analysis. |
... |
Parameters passed to |
verbose |
A logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE). |
A TNS object evaluated by the 'tnsKmInteraction' and 'tnsCoxInteraction' functions.
# 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)