Get Significance Colors
get_significance_colors(
p_values,
thresholds = c(0.001, 0.01, 0.05),
colors = c("#d73027", "#fc8d59", "#fee08b"),
default_color = "#999999"
)Character vector of colors
Numeric vector of p-values
Numeric vector of significance thresholds
Character vector of colors for each significance level
Default color for non-significant values