lf_bp2: extend y

This commit is contained in:
Tanushree Tunstall 2022-10-11 11:56:41 +01:00
parent 5966c4e21b
commit 763ffa55b8

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