createOptimalSurvData {psichomics} | R Documentation |
Data is presented in the table for statistical analyses
createOptimalSurvData(eventPSI, clinical, censoring, event, timeStart, timeStop, match, patients, samples)
eventPSI |
Numeric: alternative splicing quantification for multiple samples relative to a single splicing event |
clinical |
Data frame: clinical data |
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) |
match |
Matrix: match between samples and patients |
patients |
Character: patient identifiers (only required if the
|
samples |
Character: samples to use when assigning values per patient (if NULL, all samples will be used) |
Survival data including optimal PSI cutoff, minimal survival p-value and HTML element required to plot survival curves