lf_bp2: extend y

This commit is contained in:
Tanushree Tunstall 2022-10-11 11:53:17 +01:00
parent 37e970dea3
commit 5966c4e21b

View file

@ -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)