Helper function to write result file when time out occured or R session terminated
writeResFile(
algoName,
biomarker,
N = 0,
error = NULL,
runtime = NULL,
filename = NULL,
outputDir = NULL
)
(character) specifying the name of the algorithm that is evaluated
(character) specifying the biomarker for which the algorithm should calculate RIs
(numeric) specifying the number of input data points
(character) specifying the type of error (e.g. timeout, RSessionTerminated)
(numeric) specifying the computation time up until the error occured
(character) specifying the filename for which the algorithm failed
(character) specifying the outputDir: Data files should be stored in outputDir/Data/biomarker and Results will be stored in outputDir/Results/algo/biomarker
Tatjana Ammer tatjana.ammer@roche.com