SubjectsSubjects(version: 996)
Course, academic year 2026/2027
   
Course of work with molecular data in R - MB120C16
Title: Course of work with molecular data in R
Czech title: Kurz práce s molekulárními daty v R
Form of teaching: course
Guaranteed by: Department of Botany (31-120)
Faculty: Faculty of Science
Actual: from 2025
Duration in semesters: 1
Semester: winter
E-Credits: 2
Examination process: winter s.:
Hours per week, examination: winter s.:0/5, C [DS]
Capacity: 30
Maximum number of enrolled students: 30
Min. number of students: unlimited
4EU+: no
Virtual mobility / capacity: no
State of the course: taught
Language: English
Explanation: The course will be taught 4 days. The course will be taught February 2-5, 2026.
Additional information: https://trapa.cz/cs/kurz-molekularni-data-r-2026
Repeated enrollment: 2 / 2 / 2 / 2
Note: enabled for web enrollment
Guarantor: Mgr. Vojtěch Zeisek, Ph.D.
Teacher(s): Mgr. Vojtěch Zeisek, Ph.D.
Annotation -
R is currently perhaps the most powerful and widely used tool for calculations of all kinds. A wide range of modules for working with molecular data is also available. A representative selection of these modules is the focus of this course.
The course includes theory on the methods used, tutorials using test data, assignments for independent work by participants, and more. The goal is to teach students how to analyze molecular data using the R programming language, introduce available packages for such analysis, and provide hands-on experience analyzing their own or provided data.
Prior knowledge of R is an advantage but not a requirement. At least a basic understanding of molecular biology is necessary, and prior knowledge of at least some methods for analyzing DNA data is recommended. The course is more suitable for master’s and doctoral students; it is suitable for bachelor’s students only if they are very advanced.
The course will be held in a 5-day session.
The course will take place February 1-5, 2027, at Benátská 2 in classroom B12 from 9:00 a.m. to approximately 3:30 p.m. (with plenty of breaks).
Consultations are available at any time by prior email arrangement.
Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
Literature -
Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
Course assessment methods and requirements for successful completion, grading scheme -
  • Active participation.
  • Asking and answering on-topic questions during the course.
  • Loading of any molecular data into R (own, exemplary data from some R package, or from on-line database) and doing several appropriate analysis (according to data type), it is possible to use Internet, documentation, etc. The script does not have to be completely error-free, but it must be functional. If a student uses AI (LLM), they must clearly describe how they used it, what their input was, and what the AI did. Furthermore, in such a case, the script must work with the student’s real data, and must be absolutely error-free.
  • Write at least one standard page on Wikipedia on any topic related to the course material. This may include a translation, edits to existing articles, contributions to several shorter articles, etc. The page should be in the language version of Wikipedia corresponding to the student’s native language (typically non-English version). The page must comply with Wikipedia standards (style, sources, links and backlinks, categorization, etc.). Note that exact requirements vary among various language versions. AI (LLM) may be used to review the written article or,to translate from a foreign language. Afterward, manual review and the addition of all necessary elements, such as links, are always required.
Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
Syllabus -

Preliminary overview of topics and schedule (subject to change based on participants’ requests, pace, etc.):

Day 1

  • Basics of working in R, installing packages.
  • Importing and exporting molecular data of various types and formats (microsatellites, VCF, sequencing data, etc.).
  • Downloading sequences from a database.
  • Extracting SNPs from sequencing data.
  • Alignment.
  • Data manipulation, conversion between formats.
  • Creating distance matrices, importing custom matrices.

Day 2

  • Population genetics and genomics: basic statistics, genetic indices, heterozygosity, HWE, F-statistic, PCoA, NJ, MSN.

Day 3

  • DAPC.
  • Spatial analyses—Mantel test, Moran’s I, Monmonier, sPCA, …
  • Basics of map creation.

Day 4

  • Tree manipulation, processing large numbers of trees.
  • Phylogenetic independent contrast.
  • Phylogenetic autocorrelation.
  • Phylogenetic PCA.
  • Ancestral state reconstruction.

Day 5

  • Graphics.
  • GitHub.
  • Scripts, loops, and conditions.
  • R at MetaCentrum.

Time for additional specific questions from participants, assessments, and consultations on participants’ own data will be allocated primarily during the last day.

Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
Learning outcomes

After completing the course, students will be able to:

  1. Operate confidently within the R environment and use key packages for the analysis of molecular and genetic data.

  2. Import, manage, and transform molecular datasets of various types and formats (e.g. DNA sequences, SNPs, microsatellites).

  3. Apply fundamental statistical and population genetic methods (e.g. heterozygosity, Hardy–Weinberg equilibrium, F-statistics, PCoA, DAPC) to molecular data.

  4. Construct and interpret phylogenetic trees using distance-based and model-based methods (NJ, UPGMA, ML) and visualize their structure and uncertainty.

  5. Perform spatial and phylogenetic analyses, including Mantel tests, phylogenetic PCA, and ancestral state reconstruction.

  6. Use Bioconductor and other specialized R libraries to conduct advanced analyses and integrate multiple data sources.

  7. Develop reproducible analytical workflows for the interpretation of molecular and evolutionary patterns.

  8. Critically evaluate analytical results and interpret their biological significance in the context of evolutionary and population processes.
Last update: Gáliková Kristýna, Mgr. et Mgr., DiS. (21.10.2025)
Course registration requirements -

Don't be afraid of R. :-)

Previous knowledge of R is useful, but not necessary. At least basic knowledge of molecular biology is required, previous knowledge about any methods how to analyze DNA data is recommended. I recommend to follow courses R for life - MB120P147E a Use of molecular markers in plant systematics and population biology - MB120P44 (optionally also with practical lessons I and II), and Plant population genetics - MB120P145, or anything similar, prior to this course. Course is primarily for Master and Ph.D. students, for Bachelor students only if they are very advanced.

For course you need

  • Own computer to work.
  • Working Wi-Fi. Eduroam (set it up using faculty or recommended general instructions), or in application form You can ask for temporary password.
  • Installed R. I also recommend to install some graphical user interface like RStudio, RKWard, R commander or some similar according to your choice.
  • If you have experience with R, you can save some work by installing required R packages in advance. I'll send instructions prior to the course. If you do not wish to install everything, you can use prepared Linux image for VirtualBox containing everything needed.
Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
Registration requirements -
I'd be glad if participants could fill a short questionnaire which will help me with preparation of the course and communication.
Last update: Zeisek Vojtěch, Mgr., Ph.D. (27.09.2026)
The course does not include work placement
 
Charles University | Information system of Charles University | http://www.cuni.cz/UKEN-329.html