I am wondering is there is any way I can improve the visulization of this plot. I would like to visulasied the data point but it is very noisy now. Any idea would be be helpful
ggplot(a_filtered_tv , aes(x = Condition, y = value, colour = Condition)) +
geom_boxplot(width = 0.8, show.legend = FALSE,outlier.shape = NA) +
geom_jitter(width=0.19,alpha=0.2, size = .4, shape =21, color ="black" )+
#geom_point(position=position_jitter(width=0.1,alpha=0.2))+
#scale_y_log10() +
#coord_cartesian(ylim = ylimits) + # Apply consistent y-axis limits
scale_y_continuous(limits = c(0.00009, 0.01))+ #### limits = c(0.0002, 0.08)
scale_color_manual(values = c("HRSV" = "#eb4a40", "HRSV_RBV" = "#045275")) +
facet_wrap(. ~ coding, ncol = 2) +
stat_compare_means(method = "wilcox.test", comparisons = my_comparisons, label = "p.signif", label.y = 0.007,size=6)+
labs(title = "Transversion", y = "Average Tv count") +
theme_bw() +
theme(text = element_text(size = 19, face="bold"),
plot.title = element_text(hjust = 0.5),
strip.text = element_text(face = "bold"))
Thanks in advance,
enter image description here
I have trired geom_jitter and geom_point
New contributor
G.S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.