Generates ROC/Calibration outputs and subgroup gate analyses.
analyse_gnn_results(
gnn_results,
prepared_data,
group_mappings = NULL,
create_roc_plot = TRUE,
create_calibration_plot = TRUE,
analyse_gate_weights = TRUE,
analyse_gate_entropy = TRUE,
verbose = FALSE,
nonparametric = FALSE
)A list of ggplots, test results, and summary tables.
List from train_gnn() (expects $final_results, $performance_summary, $gate_weights).
List from prepare_data() (used to retrieve group mappings if not provided).
Optional named mapping from group codes (names) to labels (values).
Logical; return ROC ggplot (default TRUE).
Logical; return calibration ggplot (default TRUE).
Logical; analyse gate weights across groups (default TRUE).
Logical; analyse gate entropy across groups (default TRUE).
Logical; print progress messages.
Logical; if TRUE and k>2, use Kruskal-Wallis + Wilcoxon instead of ANOVA + Tukey.