surv.dist: Distance of a Survival Endpoint

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/surv.dist.R

Description

A function to calculate the distance for a survivial endpoint.

Usage

1
surv.dist(stime.evnt)

Arguments

stime.evnt

A data frame with time in first column and censor in second column.

Details

This function calculates the distance matrix for a censored event-time variable. The calculation is based on the formula in Section 2.4 of Cao and Pounds (2021). The distance metric for censored event-time data is based on the rank-based association statistic for this type of data proposed by Jung et al (2005).

Value

A square matrix with nrow and ncol equal to the nrow of stime.evnt. Entry (i,j) of the result matrix gives the survival distance between subjects represented in rows i and j of stime.evnt.

Author(s)

Xueyuan Cao xcao12@uthsc.edu and Stanley Pounds stanley.pounds@stjude.org

References

Cao X and Pounds S (2021) Gene-Set Distance Associations (GSDA): A Powerful Tool for Gene-Set Association Analysis.

Jung SH, Owzar K, and George SL (2005) A mutiple testing procedure to associate gene expression levels with survival. Statistics in Medicine 24: 3077-88.

See Also

cat.dist

Examples

1
2
data(target.aml.clin)
srv.dist=surv.dist(target.aml.clin[,c("efs.time","efs.evnt")])

GSDA documentation built on Jan. 18, 2021, 5:05 p.m.