Answer by Tung for How to plot a hybrid boxplot: half boxplot with jitter...
Adding another option: gghalves package developed by @erocoarlibrary(tidyverse)library(ggbeeswarm)# if (!require(devtools)) {# install.packages('devtools')# }#...
View ArticleAnswer by erocoar for How to plot a hybrid boxplot: half boxplot with jitter...
I find this hybrid boxplot very, very lovely so I wanted to recreate it too. I wrote a geom_boxjitter that inherits from geom_boxplot and only adds minor changes: It draws the geom_rect only on the...
View ArticleAnswer by Roman for How to plot a hybrid boxplot: half boxplot with jitter...
A very fast solution would be to add some nudge using position_nudge. dat_long %>% ggplot(aes(x = type, y = value, fill=key)) + geom_boxplot(outlier.color = NA) + geom_point(position =...
View ArticleHow to plot a hybrid boxplot: half boxplot with jitter points on the other half?
I'm trying to make a similar plot to Fig. 2d-f in an article published on Nature this year. It's basically a half boxplot with points on the other half.Can anyone give me some hints? Thank you very...
View Article