createOptimalSurvData: Create survival data based on a PSI cutoff

Description Usage Arguments Value

View source: R/analysis_diffSplicing_table.R

Description

Data is presented in the table for statistical analyses

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
createOptimalSurvData(
  eventPSI,
  clinical,
  censoring,
  event,
  timeStart,
  timeStop,
  match,
  patients,
  samples
)

Arguments

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 subjects

patients

Character: subject identifiers (only required if the clinical argument is not handed)

samples

Character: samples to use when assigning values per subject (if NULL, all samples will be used)

Value

Survival data including optimal PSI cutoff, minimal survival p-value and HTML element required to plot survival curves


psichomics documentation built on Nov. 8, 2020, 5:44 p.m.