HPBBM2022

Author
Affiliation

Department of Biochemistry, UAM

Modified

January 12, 2023

There are only two kinds of programming languages: the ones people complain about and the ones nobody uses. —Bjarne Stroustrup

Wellcome & Disclaimer

This site contains the materials for the Coding tools for Biochemistry & Molecular Biology (Herramientas de Programación para Bioquímica y Biología Molecular) course of fall 2022 in the Bachelor’s Degree in Biochemistry @UAM (Universidad Autónoma de Madrid, Spain). The course contains a first block of lessons on Python programming (Lessons 1-7) and a Python-vs-R introductory lesson (Lesson 8) that are not included here. Detailed academic information about the course contents, dates, and assessment only can be found at the UAM Moodle site. Each lesson contains R challenges or exercises, some of them from freely available online solved exercises and others that I created. The answers to the latter are not available online, but I’ll be glad to provide them upon request.

This site is on a GitHub repo, containing the source R Markdown files and the data used in the examples and exercises. You can use DownGit links to download specific folders in a Zip file, like the data folder. When you “knit” the report, R Studio will execute the code within each chunk in the notebook and the results appear beneath the code in the output file (usually HTML or PDF). Check also https://bookdown.org/yihui/rmarkdown-cookbook/spin.html for more info about how to use Notebooks and Markdown. Markdown recently evolved to Quarto, which has increased capabilities. To learn more about Quarto see https://quarto.org. Check also the final lesson of this course.

All this material is open access and it is shared under CC BY-NC license.

Under construction

This is the first complete draft of this site, but it is intended to be expanded and corrected throughout the next weeks and new versions will be available the following years. Any feedback, help, or suggestions will be very warmly welcome.

Also, it is likely that you find some mistypes or even some big mistakes throughout these course materials. I, and the future students, will appreciate it if you let me know about anything that could be corrected or just improved. You can reach me by email or Twitter.

Bibliography and Resources

Each lesson contains its own specific references, but I wanted to highlight here some curated general open access and open source resources to introduce yourself into R and R Studio.

Contents

Lesson 9: Data input and output in R

Lesson 10: Write your own functions

Lesson 11: Plots

Lesson 12: Data management

Lesson 13: Advanced plots with ggplot

Lesson 14: Applications for Molecular Biology

Extra Lesson: Introduction to R projects, R Markdown and Quarto.