How do I add dotted lines and horizontal bars at the end of the dotted lines to my boxplot in ggplot? By default it creates a vertical lines going out from the box. Please see example below how I want it:
here is my code
p <- ggplot(data, aes(factor(Length,levels=18:26), logFC)) +
geom_boxplot(fill = "white") +
coord_cartesian(ylim=c(-5,5)) +
theme_bw(base_size=45) +
scale_x_discrete("", breaks=factor(18:26), drop=FALSE)