Loads a saved model RDS file and returns only its performance portion. The file is deserialized fully first (an RDS is read as a whole), then the performance entries are extracted.
Examples
if (FALSE) { # \dontrun{
# Load performance from a single model file
perf <- get_performance("models/PERCEPTIONx_models_PanCan_exPanCan_20240101_120000.RDS")
# Or use compare_performance on the result
models <- readRDS("models/PERCEPTIONx_models_PanCan_exPanCan_20240101_120000.RDS")
perf <- compare_performance(models)
} # }
