Creates boxplots comparing performance (MCC) between real and shuffled labels across feature types.

plotShuffleVsReal(metadata_path = ".", performance_path = ".")

Arguments

metadata_path

Character. Unused; retained for backward compatibility.

performance_path

A performance tibble (with feature_type, feature_subtype, mcc, and shuffled columns), or a directory path containing all_perf.parquet.

Value

A ggplot object.

Examples

performance <- tibble::tibble(
  feature_type = rep(c("genes", "proteins"), each = 4),
  feature_subtype = rep(c("binary", "counts"), times = 4),
  mcc = c(0.7, 0.6, 0.65, 0.55, 0.1, 0.05, 0.08, 0.02),
  shuffled = rep(c(FALSE, TRUE), each = 4)
)
plotShuffleVsReal(performance_path = performance)