Difference between revisions of "CRG Introduction to R July2017"

From Bioinformatics Core Wiki
(Course Syllabus, Schedule, and Materials)
(Course Syllabus, Schedule, and Materials)
Line 23: Line 23:
 
* Day 1
 
* Day 1
 
** Introduction to R Studio<br>We will use the R Studio [http://rstudio01.linux.crg.es server] of the CRG. We will go through what can be done with R Studio, from file and folders manipulation/navigation, to getting help on R functions.
 
** Introduction to R Studio<br>We will use the R Studio [http://rstudio01.linux.crg.es server] of the CRG. We will go through what can be done with R Studio, from file and folders manipulation/navigation, to getting help on R functions.
** Basics of R
+
** Basics of R<br>Syntax, special characters, create an object, manipulate the object, simple arithmetics.
Syntax, special characters, create an object, manipulate the object, simple arithmetics.
+
** Functions in R<br>Arguments. Get help.
** Vectors
+
** Vectors<br>Basic (and most important) data structure in R. We will learn how to create, modify, subset, manipulate vectors.
Basic (and most important) data structure in R. We will learn how to create, modify, subset, manipulate vectors.
+
** Input / output<br>Reading in and writing out.
** Input / output
+
** Library / packages<br>Install and load packages. Look for functions in those packages.
Reading in and writing out.
+
 
* Day 2
 
* Day 2
** Matrices & data frames
+
** Matrices & data frames<br>2-dimensional objects: how to create, subset, manipulate.
2-dimensional objects: how to create, subset, manipulate.
+
** More on input / output<br>Reading in more complex files, different options to adapt to the input file. Writing out files the way you want to see your data.
** More on input / output
+
Reading in more complex files, different options to adapt to the input file. Writing out files the way you want to see your data.
+
 
* Day 3: plotting
 
* Day 3: plotting
** Basic plotting
+
** Basic plotting (base graphics package)<br>Scatter plots, boxplots, barplots, pie plots, histograms.
Scatter plots, boxplots, barplots, pie plots, histograms.
+
** Introduction to ggplot2 package<br>ggplot2 provides functions for creating and customizing plots. We will learn the basic structure and how to produce simple plots.
** Introduction to ggplot2 package
+
** Input / output<br>We will save plots as files in different formats, both from R Studio and from the terminal.
ggplot2 provides functions for creating and customizing plots. We will learn the basic structure and how to produce simple plots.
+
** Input / output
+
How to save plots as files in different formats, both from R Studio and from the terminal.
+

Revision as of 07:53, 4 July 2017

Description

This is an introductory course to R programming.
The course is offered in 3 slow-paced practicums for absolute beginners. The goal is to offer a good base with a lot of hands on exercises.
We will use R Studio on the server of the CRG.

Course Instructors


Dates, Time and Location

  • July 12, 13, 14, 2017.
  • 9:30 - 13:30.
  • PRBB Boinformatics classroom (468). 4th floor. The hotel/North wing.


Course Syllabus, Schedule, and Materials

  • Day 1
    • Introduction to R Studio
      We will use the R Studio server of the CRG. We will go through what can be done with R Studio, from file and folders manipulation/navigation, to getting help on R functions.
    • Basics of R
      Syntax, special characters, create an object, manipulate the object, simple arithmetics.
    • Functions in R
      Arguments. Get help.
    • Vectors
      Basic (and most important) data structure in R. We will learn how to create, modify, subset, manipulate vectors.
    • Input / output
      Reading in and writing out.
    • Library / packages
      Install and load packages. Look for functions in those packages.
  • Day 2
    • Matrices & data frames
      2-dimensional objects: how to create, subset, manipulate.
    • More on input / output
      Reading in more complex files, different options to adapt to the input file. Writing out files the way you want to see your data.
  • Day 3: plotting
    • Basic plotting (base graphics package)
      Scatter plots, boxplots, barplots, pie plots, histograms.
    • Introduction to ggplot2 package
      ggplot2 provides functions for creating and customizing plots. We will learn the basic structure and how to produce simple plots.
    • Input / output
      We will save plots as files in different formats, both from R Studio and from the terminal.
Bioinformatics Core Facility @ CRG — 2011-2024