Last updated: 2025-06-11

Checks: 7 0

Knit directory: SISG2025_Association_Mapping/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20230530) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 54deab9. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .qodo/
    Ignored:    analysis/.DS_Store
    Ignored:    analysis/QG3_Association_Testing_practical_Key.Rmd
    Ignored:    analysis/QG3_Beyond_Standard_GWAS_practical_Key.Rmd
    Ignored:    analysis/QG3_CC_Imbalance_practical_Key.Rmd
    Ignored:    analysis/QG3_Downstream-Analyses_practical_Key.Rmd
    Ignored:    analysis/QG3_Plink_Population_Structure_practical_Key.Rmd
    Ignored:    analysis/QG3_Polygenic_Scores_practical_Key.Rmd
    Ignored:    analysis/QG3_Power-Design_practical_Key.Rmd
    Ignored:    analysis/QG3_RV_tests_practical_Key.Rmd
    Ignored:    analysis/QG3_Relatedness_REGENIE_practical_Key.Rmd
    Ignored:    data/run_regenie.r
    Ignored:    data/sim_rels_geno.bed
    Ignored:    exe/
    Ignored:    lectures/
    Ignored:    mk_website.R
    Ignored:    notes.txt
    Ignored:    tmp/

Untracked files:
    Untracked:  .mk_website.R.swp
    Untracked:  _workflowr.yml
    Untracked:  analysis/.Rhistory
    Untracked:  analysis/.index.Rmd.swp

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 54deab9 Joelle Mbatchou 2025-06-11 add soln#8 and fix link practical #9
html 5620bfb Joelle Mbatchou 2025-06-10 Build site.
Rmd 8daa4ac Joelle Mbatchou 2025-06-10 add soln#7
html 711c337 Joelle Mbatchou 2025-06-10 Build site.
Rmd 89a7e3b Joelle Mbatchou 2025-06-10 add soln#6
html e43c815 Joelle Mbatchou 2025-06-10 Build site.
Rmd fe34b37 Joelle Mbatchou 2025-06-10 add soln#5
html b2215a3 Joelle Mbatchou 2025-06-09 Build site.
Rmd 265efbf Joelle Mbatchou 2025-06-09 add soln#4
html ac266ba Joelle Mbatchou 2025-06-09 Build site.
html 4d5f530 Joelle Mbatchou 2025-06-09 Build site.
Rmd b8493bc Joelle Mbatchou 2025-06-09 add soln#4
html 42093b6 Joelle Mbatchou 2025-06-09 Build site.
Rmd c512070 Joelle Mbatchou 2025-06-09 add soln#3
html 17bbb49 Joelle Mbatchou 2025-06-09 Build site.
Rmd 9e54e6b Joelle Mbatchou 2025-06-09 add soln#2
html 5636065 Joelle Mbatchou 2025-06-09 Build site.
Rmd 31c67d1 Joelle Mbatchou 2025-06-09 add soln#1
html ef89bed Joelle Mbatchou 2025-06-06 Build site.
Rmd 651d1ad Joelle Mbatchou 2025-06-06 update index
html d0960a0 Joelle Mbatchou 2025-06-02 Build site.
html cc9d0f3 Joelle Mbatchou 2025-06-01 update site
Rmd a743cf8 Joelle Mbatchou 2025-06-01 update site
html a743cf8 Joelle Mbatchou 2025-06-01 update site
html 1e05557 Joelle Mbatchou 2025-05-28 Build site.
Rmd 83f0871 Joelle Mbatchou 2025-05-28 update index
html 0a8f6f5 Joelle Mbatchou 2025-05-28 add docs folder
Rmd d44b453 Joelle Mbatchou 2025-05-27 cleanup edit
Rmd bec2886 Joelle Mbatchou 2025-05-23 add base files

Instructors: Joelle Mbatchou & Michael Epstein

You will find on this website link to lecture slides, exercises including some solutions, and link to the class video recordings.

The official SISG web page can be found here – course evaluations and certificates of completion are available via this page.

Session Format

The module has 10 sessions, each of 90 minutes. The standard format for a session is approximately:

  • 45 minutes of lecture material
  • 30 minutes of exercises for you to try
  • 15 minute discussion of exercises, where the instructors will present possible solutions and Q&A

Each session builds on previous sessions so you will get maximum benefit by attending every session and in sequence.

The course schedule is below.

Pre-requisites

We will be running exercises during the course using various tools, follow the instructions below to get setup on your machine.

Prior to the module, please install working and latest versions of:

All are free software. For those on Windows, we recommend WSL (Windows Subsystem for Linux) to run the tools above if no Windows binary is available. Alternatively, you can also use docker if docker images are available.

Please be sure to install some necessary R packages by running the following commands in a R terminal:

install.packages("qqman")
install.packages("bigsnpr")
install.packages("hexbin")
install.packages("devtools")
install.packages("tidyverse")
install.packages("cowplot")
install.packages("BEDMatrix")
install.packages("SKAT")
devtools::install_github("yaowuliu/ACAT")

Schedule

All times listed below for the schedule are Eastern Daylight Time (EDT, Atlanta time).

Monday, June 9th
Time Session Topic Lecture Exercises Key
8:30am-10am 1 Case Control Association Testing & Association Testing with Quantitative Traits Lecture Exercises HTML
10:30am-12pm 2 Introduction to the PLINK Software for GWAS & Population Structure Inference Lecture Exercises HTML
1:30pm-3pm 3 GWAS in Samples with Structure & Introduction to the REGENIE Software Lecture Exercises HTML
3:30pm-5pm 4 Rare Variant Analysis: Collapsing Tests, Kernel (Variance Component) Tests and Omnibus Tests Lecture Exercises HTML
Tuesday, June 10th
Time Session Topic Lecture Exercises Key
8:30am-10am 5 Beyond traditional GWAS: Variance QTL, Interaction Testing, GWAX, Time-to-event, Multi-trait analysis Lecture Exercises HTML
10:30am-12pm 6 Downstream analyses: Conditional Analyses, Colocalization, Fine-mapping, Gene-based & Pathways Analysis Lecture Exercises HTML
1:30pm-3pm 7 Downstream analyses: Polygenic Risk Scores Lecture Exercises HTML
3:30pm-5pm 8 Emerging issues showcasing ongoing research Lecture
Wednesday, June 11th
Time Session Topic Lecture Exercises Key
8:30am-10am 9 Power, Sample Size & Design Considerations Lecture Exercises HTML
10:30am-12pm 10 Emerging issues showcasing ongoing research Lecture Exercises

Datasets

All the data sets used can be downloaded from the Box folder for the class.

Additional resources


sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS 14.7.4

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] dplyr_1.1.2

loaded via a namespace (and not attached):
 [1] jsonlite_1.8.5    compiler_4.3.0    promises_1.2.0.1  webshot_0.5.5    
 [5] tidyselect_1.2.0  Rcpp_1.0.10       xml2_1.3.4        stringr_1.5.0    
 [9] git2r_0.32.0      later_1.3.1       jquerylib_0.1.4   systemfonts_1.0.4
[13] scales_1.2.1      yaml_2.3.7        fastmap_1.1.1     R6_2.5.1         
[17] generics_0.1.3    workflowr_1.7.0   knitr_1.43        tibble_3.2.1     
[21] kableExtra_1.3.4  munsell_0.5.0     rprojroot_2.0.3   svglite_2.1.1    
[25] bslib_0.5.0       pillar_1.9.0      rlang_1.1.1       utf8_1.2.3       
[29] cachem_1.0.8      stringi_1.7.12    httpuv_1.6.11     xfun_0.39        
[33] fs_1.6.2          sass_0.4.6        viridisLite_0.4.2 cli_3.6.1        
[37] magrittr_2.0.3    rvest_1.0.3       digest_0.6.31     rstudioapi_0.14  
[41] lifecycle_1.0.3   vctrs_0.6.2       evaluate_0.21     glue_1.6.2       
[45] whisker_0.4.1     colorspace_2.1-0  fansi_1.0.4       httr_1.4.6       
[49] rmarkdown_2.22    tools_4.3.0       pkgconfig_2.0.3   htmltools_0.5.5