ELIXIR-EE training course on R and Rstudio basic usage. Target to learners who have no or very little prior experience with R and Rstudio.
The main document of the lecture is the 2024-06-18-R-basic.Rmd R markdown document. R markdown allows code (examples) and explanation / documentation to be in the same document in a nicely formatted, well structured manner.
Data files needed in the code are located in the data
folder.
Learning outcomes for the training:
-
Understanding Basic R Data Structures:
-
Learners will be able to distinguish between primary R data structures, namely vectors, matrices, data frames, and lists.
-
They will be proficient in initializing and inspecting these structures using basic R functions.
-
-
Data Transformation with Tidyverse:
-
Participants will gain proficiency in using the
%>%
pipe operator to chain together functions for data manipulation. -
They will understand and be able to apply essential tidyverse functions like
mutate
,group_by
,summarize
, andarrange
to transform and analyze datasets.
-
-
Data Categorization and Conditional Operations:
- Trainees will be equipped to generate new variables in a dataset based on conditional logic, such as categorizing numerical data into distinct groups.
-
Application of Data Manipulation Techniques:
- By the end of the session, participants will have hands-on experience in applying the introduced concepts to real-world datasets, such as the Kaggle "Memory Test on Drugged Islanders Data" dataset. They'll be able to group data, compute summary statistics, and create new columns based on specific criteria.
Take a look at our follow up course on how to create compelling visualisations using R and ggplot2: https://github.com/ELIXIREstonia/2024-06-18-R-visualisation