Description Usage Arguments Details Value Author(s) References See Also Examples
A function to calculate the distance for a survivial endpoint.
1 | surv.dist(stime.evnt)
|
stime.evnt |
A data frame with time in first column and censor in second column. |
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).
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.
Xueyuan Cao xcao12@uthsc.edu and Stanley Pounds stanley.pounds@stjude.org
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.
1 2 | data(target.aml.clin)
srv.dist=surv.dist(target.aml.clin[,c("efs.time","efs.evnt")])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.