diff --git a/scripts/functions/lf_bp2.R b/scripts/functions/lf_bp2.R index cef2a3e..b25524b 100644 --- a/scripts/functions/lf_bp2.R +++ b/scripts/functions/lf_bp2.R @@ -76,7 +76,7 @@ lf_bp2 <- function(lf_df #lf_duet #, position = position_dodge(width = 0.9) , draw_quantiles = violin_quantiles) + # extend the y axis so there's always room for the stats - ylim(min(lf_df$param_value), max(lf_df$param_value)+0.25) + + ylim(min(lf_df$param_value), max(lf_df$param_value)+lf_df$param_value/4) + # Add formatting to graph theme(axis.text.x = element_text(size = my_ats)