Learning to use the patchwork R package (how to learn a package in general) (CC099)
Channel: Riffomonas Project
Date: 2021-05-03

Before this episode I had never used patchwork! Here I show you how I learn to use packages using the R patchwork package as example for deciding when to use packages in R, finding packges, how to trust a package, and how to learn to use a package. I'm definitely a fan of patchwork and will probably start using it in place of cowplot. What do you think?

Pat will use RStudio and functions from the #patchwork and #ggplot2 packages. The accompanying blog post can be found at https://www.riffomonas.org/code_club/2021-05-03-patchwork.

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 riffomonas@gmail.com!

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
5:32 Finding documentation for patchwork
10:06 Introduction to patchwork
13:12 Adapting vignette to my figure
16:01 Adjusting layout
18:36 Adding annotation
20:42 Advanced layout and figure modification
22:57 Adjusting height and widths
24:33 Adjusting appearance of labels
27:46 Recap