From 763ffa55b893a8a0533f0edc65b8f374c3df5b3e Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Tue, 11 Oct 2022 11:56:41 +0100 Subject: [PATCH] lf_bp2: extend y --- scripts/functions/lf_bp2.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions/lf_bp2.R b/scripts/functions/lf_bp2.R index b25524b..09c9911 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)+lf_df$param_value/4) + + ylim(min(lf_df$param_value), max(lf_df$param_value)+max(lf_df$param_value)/4) + # Add formatting to graph theme(axis.text.x = element_text(size = my_ats)