Generates a violin plot of performance across feature types and a prediction confusion-style tile plot for MDR models.

plotMDR(
  MDR_performance_path = ".",
  MDR_top_feature_path = ".",
  MDR_pred_path = "."
)

Arguments

MDR_performance_path

Character. Path to a directory containing MDR_perf.parquet.

MDR_top_feature_path

Character. Path to a directory containing MDR_top_features.parquet. Currently unused (reserved for an upcoming feature-cluster panel).

MDR_pred_path

Character. Path to a directory containing MDR_pred.parquet.

Value

A named list of two ggplot objects: performance (violin plot) and prediction (predicted-vs-true tile plot).

Examples

if (FALSE) { # \dontrun{
plotMDR(
  MDR_performance_path = "data/Campylobacter/MDR_ML_performance",
  MDR_top_feature_path = "data/Campylobacter/MDR_ML_top_features",
  MDR_pred_path = "data/Campylobacter/MDR_ML_pred"
)
} # }