plotSurvivalPvaluesByCutoff {psichomics} | R Documentation |
Plot p-values of survival difference between groups based on multiple cutoffs
plotSurvivalPvaluesByCutoff(clinical, data, censoring, event, timeStart, timeStop = NULL, followup = "days_to_last_followup", significance = 0.05, cutoffs = seq(0, 0.99, 0.01))
clinical |
Data frame: clinical data |
data |
Numeric: elements of interest to test against the cutoff |
censoring |
Character: censor using "left", "right", "interval" or "interval2" |
event |
Character: name of column containing time of the event of interest |
timeStart |
Character: name of column containing starting time of the interval or follow up time |
timeStop |
Character: name of column containing ending time of the interval (only relevant for interval censoring) |
followup |
Character: name of column containing follow up time |
significance |
Numeric: significance threshold |
cutoffs |
Numeric: cutoffs to test |
p-value plot