
Plot Pooled AUROC and AUPRC Boxplots Across Multiple Folders
Source:R/machine_learning.R
get_pooled_boxplots.Rd
This function aggregates AUROC and AUPRC metrics from multiple folders (typically corresponding to different cohorts or models), and generates boxplots comparing model performance across groups.
Arguments
- folder_paths
Character vector. Paths to folders containing
.rds
files with ML model performance results.- file_name
Character. Prefix for the saved PDF files containing the plots.
- width
Numeric. Width of the saved plots in inches. Default is 12.
- height
Numeric. Height of the saved plots in inches. Default is 8.