Plot top PC–metadata associations
plot_top_pc_meta(
results,
metadata = NULL,
n = 10,
value = c("effect_size", "statistic")
)Data frame returned by pc_meta_correlations().
Character vector of metadata columns to plot. If NULL, the
top variables by effect size are used.
Number of metadata variables to display.
Value to rank by: "effect_size" or "statistic".
A ggplot object.