This mid-level function automates running test_fused_component_set over a range of PC indices for a single outcome, handling progress reporting and aggregating the results.

run_fused_analysis_sweep(
  pc_indices,
  data,
  outcome,
  covariates,
  modality_prefixes,
  random_effects = NULL,
  predictoroperator = "+",
  plot_interaction_with = NULL,
  interact_with_all = FALSE,
  outcome_label = NULL,
  predictor_name_map = NULL,
  heatmap_value = c("t.value", "d", "p.value"),
  verbose = FALSE,
  ...
)

Arguments

...

Arguments passed down to test_fused_component_set, including p_threshold.

Value

A list containing aggregated summary_statistics, effect_sizes, a named list of plots, and heatmap_data matrix.