Plot PC–metadata correlation heatmap
plot_pc_meta_heatmap(
results,
value = c("statistic", "effect_size"),
top_n = 20,
top_pcs = 10
)Data frame returned by pc_meta_correlations().
Value to plot: "statistic" or "effect_size".
Number of top metadata variables to show by median absolute value.
Number of top PCs to show by index.
A ggplot object.