Back to Browse

Revisiting and critiquing a scatterplot in R with ggplot2 (CC078)

7.1K views
Mar 8, 2021
28:54

Once upon a time we published a paper with a scatterplot of an ordination using base R. In today's episode of Code Club, I'll revisit that scatter plot, offer a critique, and try to make the scatter plot look better using the ggplot2 R package from the tidyverse. Pat will use RStudio and functions from the ggplot2 package and other packages from the tidyverse. The accompanying blog post can be found at https://www.riffomonas.org/code_club/2021-03-08-scatterplot. Do you have a figure that you would like to receive a critique or help improving? Let me know and I'd be happy to arrange a guest appearance! If you're interested in taking an upcoming 3 day R workshop, email me at [email protected]! R: https://r-project.org RStudio: https://rstudio.com Raw data: https://github.com/riffomonas/raw_data/releases/latest Workshops: https://www.mothur.org/wiki/workshops You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ 0:00 Introduction 3:24 Implementing a data viz rubric 8:52 Rebuilding original figure 17:50 Modifying the legend 28:04 Conclusion

Download

1 formats

Video Formats

360pmp474.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Revisiting and critiquing a scatterplot in R with ggplot2 (CC078) | NatokHD