Two methods of creating a jitter dodged slope plot in R with ggplot2 (CC429)

Critique video:    • Leverage the experimental design to improv...   Related livestream: https://youtube.com/live/Q9f7JQhl644 The article discussed: https://www.nature.com/articles/s4156... Code from this video: https://riffomonas.org/code_club/2026... Sign up for a complimentary consultation to help me learn your needs: https://calendly.com/pat-riffomonas/3... My newsletter: https://shop.riffomonas.org/youtube Recorded workshops: https://riffomonas.org/workshops/ If you want to cite this video: https://journals.asm.org/doi/10.1128/... packages: tidyverse, readxl, broom, glue, ggplot2, dplyr, purrr functions: aes, as.numeric, download.file, element_blank, element_line, element_text, everything, expansion, facet_wrap, factor, geom_jitter, geom_line, geom_path, geom_point, geom_text, ggplot, ggsave, glue, if_else, labs, levels, library, map, margin, mutate, nest, p.adjust, paste, pivot_longer, pivot_wider, position_jitter, read_excel, rep, round, runif, scale_fill_manual, scale_x_continuous, scale_y_continuous, select, separate_wider_delim, set.seed, t.test, theme, theme_classic, tidy, unit, unnest, and wilcox.test Pat refactors a difficult to interpret jitter plot from a study that looked at the effects of acarbose and the microbiome on allergic responses. He highlights the importance of having a visualization that reflects the design of the study. This is done by replacing a scatter plot with a plot showing line segments that have arrow heads showing the direction of change of each animal in the study. 0:00 Introduction 2:28 Importing and tidying data from Excel 9:08 Exploring approaches 13:23 Do it yourself jitter dodged slope plot 25:26 Pairwise statistical analysis 33:38 Using facets to create jitter dodged slope plot 44:45 Final comments