two_sample_surv_setup | R Documentation |
two-sample survival comparison dependent on mutation present in gene
two_sample_surv_setup(sym, se, timevar = "OS.Time", eventvar = "OS.event")
sym |
character(1) HUGO symbol |
se |
a SummarizedExperiment instance with ragged mutation matrix as assay |
timevar |
character(1) variable found in colData(se) recording time to event |
eventvar |
character(1) variable found in colData(se) recording death or censoring |
data(brcamutSE)
ss = two_sample_surv_setup("TTN", brcamutSE)
summary(ss)
plot(ss, lty=1:2, lwd=2)
legend(500,.4, lty=1:2, lwd=2, legend=c("TTN WT", "TTN Mut"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.