Description Usage Arguments Value Examples
Calculate association between survival and a continuous measure#' @inheritParams allPvals
1 | checkContSig(measure, time, event)
|
measure |
A continuous variable used to order survival data. Samples must be ordered exactly as in time and event |
time |
A numeric vector of sample time-to-event data, ordered exactly as measure. Must not contain NAs |
event |
A vector of sample event data, ordered exactly as measure. Must not contain NAs |
p-value of association between measure and survival
1 2 3 4 5 6 7 8 9 10 11 | library(survivALL)
library(Biobase)
data(nki_subset)
#Calculate p-value for continuous measure SCUBE2
srv_dfr <- data.frame(measure = exprs(nki_subset)["NM_020974", ],
time = nki_subset$t.dmfs,
event = nki_subset$e.dmfs
)
checkContSig(srv_dfr$measure, srv_dfr$time, srv_dfr$event)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.