tnsStratification: Sample stratification for a TNS object

Description Usage Arguments Value See Also Examples

View source: R/AllSupplements.R

Description

Internal function, used for sample stratification.

Usage

1
2
3
4
5
6
tnsStratification(
  tns,
  sections = 1,
  center = FALSE,
  undetermined.status = TRUE
)

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.

undetermined.status

a logical value. If TRUE, regulons assigned as 'undetermined' will form a group.

Value

An updated TNS object.

See Also

tnsKM

Examples

1
# see tnsKM method.

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