Skip to content

mukhtarl/sFDA-Carpentries-Workshop

 
 

Repository files navigation

Build and Deploy Website

Intro to R and Open Science Practices for Biologists

This is a workshop delivered by Open Sceince Community Saudi Arabia (OSCSA) for sFDA staff using Carpentries Materials.

Welcome to R!

Working with a programming language (especially if it’s your first time) often feels intimidating, but the rewards outweigh any frustrations. An important secret of coding is that even experienced programmers find it difficult and frustrating at times – so if even the best feel that way, why let intimidation stop you? Given time and practice* you will soon find it easier and easier to accomplish what you want.

Why learn to code?

Bioinformatics – like biology – is messy. Different organisms, different systems, different conditions, all behave differently. Experiments at the bench require a variety of approaches – from tested protocols to trial-and-error. Bioinformatics is also an experimental science, otherwise we could use the same software and same parameters for every genome assembly. Learning to code opens up the full possibilities of computing, especially given that most bioinformatics tools exist only at the command line. Think of it this way: if you could only do molecular biology using a kit, you could probably accomplish a fair amount. However, if you don’t understand the biochemistry of the kit, how would you troubleshoot? How would you do experiments for which there are no kits?

R is one of the most widely-used and powerful programming languages in bioinformatics. R especially shines where a variety of statistical tools are required (e.g. RNA-Seq, population genomics, etc.) and in the generation of publication-quality graphs and figures. Rather than get into an R vs. Python debate (both are useful), keep in mind that many of the concepts you will learn apply to Python and other programming languages.

Finally, we won’t lie; R is not the easiest-to-learn programming language ever created. So, don’t get discouraged! The truth is that even with the modest amount of R we will cover today, you can start using some sophisticated R software packages, and have a general sense of how to interpret an R script. Get through these lessons, and you are on your way to being an accomplished R user!

  • We very intentionally used the word practice. One of the other “secrets” of programming is that you can only learn so much by reading about it. Do the exercises in class, re-do them on your own, and then work on your own problems.

Citation and Acknowledgment

How to contribute?

This repository uses GitHub Actions to build and deploy the lesson.

Contributions and Pull Requests should be made against the main branch. After your contribution is merged, Travis will take care of using R to process the Rmd files into markdown files, and push them into the gh-branch which GitHub uses to serve the lesson website.

Participants

  • Lenah Mukhtar
  • Khaloud ALzahrani
  • Monah Abou Alezz
  • Meshari Alhadlaq

Individual episode files are in the _episodes_rmd folder.

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.0%
  • R 11.4%
  • Makefile 8.7%
  • Ruby 1.1%
  • Shell 0.8%