R course materials
(13th April 2020)
In early 2020 I decided to teach my colleagues to use R. I worked in a molecular biology laboratory where I was the most kwonledgeable person when it came to data processing, etc. I knew I would leave the lab sooner or later and I wanted the others to be able to get by without me. But my main motivation was I was quite fed up with looking at Excel-generated barplots at our weekly meetings.
What was supposed to be three or four small meetings of just a few people escalated into a series of 2-3 hour bi-weekly lectures (four and counting) with well over a dozen participats. We also had to move the lectures online due to the plague.
I prepared some materials for demonstrations during the lectures. I also started making notes after each lecture and homework assignments. Creating a package seemed to be the best way of distributing these materials and updating them in time. And so, here we are.
This course is for you if:
If you are desperatly trying to make a deadline and need some quick pointers, your time will be better spent elswhere. Come back when you can spare a week or so.
You might also benefit if:
If you ever created your own tools with R or built a package, there's a good chance know all of this already.
You will learn:
Hopefully, by the time we're done you'll be able to solve your own problems.
You will not learn:
First you must install R on your system. Google "download R" to find appropriate installation files.
When installing R, I suggest you do not include message translations. You want to aquaint yourself with the messages in English as that is the language the documentation is written in as well as the language you will most likely find help in on the Internet.
devtools
package along with its dependecies. To do this, start RStudio and go to the Console, which should occupy the majority of the RStudio window. Once there, run the following command:install.packages('devtools', dependencies = TRUE)
Rdlazer
package (this one) with:devtools::install_github("olobiolo/Rdlazer", build_vignettes = TRUE)
As I add material to the package, you will need to reinstall it to gain access to the new features.
Once Rdlazer
is installed:
browseVignettes("Rdlazer")
library(Rdlazer)
?homework
?hint
I do hope you will find this accessible. All feedback will be welcome.
If you want to suggest more topics to cover, drop me a line.
All the best, Aleks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.