Converts predictions from nested list-column format to Chap wide CSV format (one column per sample). This is the format expected by the Chap platform.
Examples
if (FALSE) { # \dontrun{
# Convert nested predictions to wide format for Chap
wide_preds <- predictions_to_wide(nested_preds)
write.csv(wide_preds, "predictions.csv", row.names = FALSE)
} # }