tnsStratification {RTNsurvival} | R Documentation

## Sample stratification for a TNS object

### Description

Internal function, used for sample stratification.

### Usage

    tnsStratification(tns, sections = 1, center = FALSE)

### Arguments

`tns` | a TNS object, which must have passed GSEA2 analysis.
`sections` | A numeric value for the stratification of the sample. The larger the number, the more subdivisions will be created for the Kaplan-Meier analysis.
`center` | a logical value. If TRUE, numbers assigned to each group is centralized on regulon activity scale.

### Value

An updated TNS object.

### See Also

`tnsKM`

### Examples

    # see tnsKM method.

[Package RTNsurvival version 1.11.2 Index]