Creating a barplot with error bars using ggplot2 (CC088)

Riffomonas Project
Riffomonas Project
11.5 هزار بار بازدید - 3 سال پیش - In this episode of Code
In this episode of Code Club, Pat shows how to create a barplot with error bars using the geom_col and geom_errorbar functions from ggplot2. Along the way, he'll discuss the problems with bar plots and why these graphs are best avoided.

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/....

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]!

PLOS Biology article on barplots: https://journals.plos.org/plosbiology...
R: https://r-project.org
RStudio: https://rstudio.com
Raw data: https://github.com/riffomonas/raw_dat...
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
2:23 Critiquing an old figure
7:33 Recreating old figure
11:20 Improving appearance of figure
18:07 Add N to labels
21:00 Conclusion
3 سال پیش در تاریخ 1400/01/16 منتشر شده است.
11,543 بـار بازدید شده
... بیشتر