Bi8190 Data manipulation and visualisation in R

Faculty of Science
Autumn 2024
Extent and Intensity
0/2/0. 2 credit(s) (fasci plus compl plus > 4). Type of Completion: k (colloquium).
In-person direct teaching
Teacher(s)
Mgr. Irena Axmanová, Ph.D. (seminar tutor)
Mgr. Bc. Klára Klinkovská (seminar tutor)
Guaranteed by
Mgr. Irena Axmanová, Ph.D.
Department of Botany and Zoology – Biology Section – Faculty of Science
Contact Person: Mgr. Irena Axmanová, Ph.D.
Supplier department: Department of Botany and Zoology – Biology Section – Faculty of Science
Prerequisites
Bi7560 Introduction to R ||SOUHLAS
A basic knowledge of R is recommended, ideally completing the Introduction to R Bi7560 Introduction to R before the course.
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
there are 7 fields of study the course is directly associated with, display
Course objectives (in Czech)
V průběhu kurzu představíme pokročilé metody manipulace a vizualizace dat v programu R, zejména s využitím knihoven z kolekce tidyverse (tidyr, dplyr, tibble, purr, stringr, ggplot2, readr). Cílem předmětu je naučit studenty rutinní manipulaci s daty, tak aby si je uměli importovat, upravit, filtrovat, připojit nové informace z externích dat, vytvořit nové proměnné (např. na základě výpočtu), seskupit vzorky na základě nějaké charakteristiky/informace a pro tyto skupiny vypočítat další parametry. Dále se studenti naučí základní i pokročilé metody vizualizace dat pomocí ggplot2 a tvorbu základních map v R. Cílem předmětu je i osvojení přístupu open data science, kdy se naučí připravit skript tak, aby bylo možné ho na závěr publikovat na platformě GitHub.
Learning outcomes
Students will be able to:
- on their own create graphs in the ggplot2 graphics,
- choose a correct graph type,
- use faceting,
- add modelled trends in the displayed data,
- adjust scaling of aesthetic attributes of the graphic,
- finalize the appearance of the graphic for publication.
Syllabus (in Czech)
  • 1 Úvod
  • R jako programovací jazyk
  • Tidyverse package, %>%, |>
  • projekty v RStudiu, cheatsheets, keyboard shortcuts
  • zásady tidy skriptu (úprava, nadpisy, záložky, poznámky)
  • zdroje informací a kde hledat pomoc
  • import pomocí readr, readxl, na co si dávat pozor (encoding)
  • struktura dat (names, table, glimpse)
  • tidy data (zásady, příprava, kontrola), přejmenování proměnných (rename)
  • 2 Základní manipulace s daty
  • základní manipulace s daty (select, filter, mutate, arrange, slice)
  • export dat (write_csv)
Literature
  • http://www.cookbook-r.com/Graphs/
  • MURRELL, Paul. R graphics. Boca Raton: Chapman & Hall/CRC, 2006, xix, 301. ISBN 158488486X. info
  • https://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html
Teaching methods
The class will be held in a computer room right in front of the computer. We will work in the R software using RStudio. At the beginning of each lesson a new method will be shortly presented after which students will exercise its application at their own computers.
Active attendance is not required but is strongly recommended.
Assessment methods
I plan to follow David Zelený's model of completion of the course, i.e.:
(1) 3 homeworks will be given, out of which 2 will be requested,
(2) students will present their graphical work on the last lesson.
However, I reserve the right to set up a practical in case the engagement of students in the class did not meet my expectations.
Language of instruction
Czech
Follow-Up Courses
Further comments (probably available only in Czech)
The course is taught annually.
The course is taught: every week.
Teacher's information
http://vitsyrovatka.info/doku.php?id=visbiodat:cs:start
The course is also listed under the following terms Spring 2008 - for the purpose of the accreditation, Spring 2007, Spring 2008, Spring 2010, Spring 2012, spring 2012 - acreditation, Spring 2014, Autumn 2016, Autumn 2018.
  • Enrolment Statistics (recent)
  • Permalink: https://is.muni.cz/course/sci/autumn2024/Bi8190