Description Usage Arguments Value Author(s) References Examples
Survival fitness function using the Restricted Mean Survival Time (RMST) of each group as proposed by Dehbi & Royston et al. (2017).
1 | fitness(OS, clustclass, period)
|
OS |
a |
clustclass |
a numeric vector with the group label for each patient |
period |
a number representing the period of time to evaluate in the RMST calculation |
The function computes the Harmonic mean of the differences between Restricted Mean Survival Time (RMST) of consecutive survival curves multiplied by the number of comparisons.
Martin E Guerrero-Gimenez, mguerrero@mendoza-conicet.gob.ar
Dehbi Hakim-Moulay, Royston Patrick, Hackshaw Allan. Life expectancy difference and life expectancy ratio: two measures of treatment effects in randomized trials with non-proportional hazards BMJ 2017; 357 :j2250 https://www.bmj.com/content/357/bmj.j2250
1 2 3 4 5 6 7 | ## Not run:
rna_luad<-use_rna_luad()
clinical <- rna_luad$TCGA$pheno_data
OS <- survival::Surv(time=clinical$time,event=clinical$status)
fitness(OS,clustclass= clinical$Wilk.Subtype, 1825)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.