tnsGet-methods: Get information from slots in a TNS object

Description Usage Arguments Value Examples

Description

Get information from individual slots in a TNS object and any available results from a previous analysis.

Usage

1
2
## S4 method for signature 'TNS'
tnsGet(tns, what)

Arguments

tns

A TNS object.

what

A string specifying what should be retrieved from the object. Options: 'status','survivalData', 'regulonActivity', 'TNI', 'para', 'kmTable', 'kmFit', 'coxTable', 'coxFit', 'kmInteractionTable', 'kmInteractionFit', 'coxInteractionTable', 'coxInteractionFit', and 'regulatoryElements'.

Value

Content from slots in the TNS object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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)
regulonActivity <- tnsGet(stns, 'regulonActivity')

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