Last updated: 2024-06-14

Checks: 7 0

Knit directory: SISG2024_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 f43a3e9. 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:    analysis/.DS_Store
    Ignored:    data/run_regenie.r
    Ignored:    data/sim_rels_geno.bed
    Ignored:    exe/
    Ignored:    gwas_plink.log
    Ignored:    gwas_regenie.log
    Ignored:    lectures/
    Ignored:    mk_website.R
    Ignored:    notes.txt
    Ignored:    step2_gwas_regenie.log
    Ignored:    tmp/

Untracked files:
    Untracked:  .Rhistory
    Untracked:  .notes.txt.swp
    Untracked:  analysis/SISGM15_prac4Solution.Rmd
    Untracked:  analysis/SISGM15_prac5Solution.Rmd
    Untracked:  analysis/SISGM15_prac6Solution.Rmd
    Untracked:  analysis/SISGM15_prac9Solution.Rmd
    Untracked:  analysis/Session02_practical_Key_cache/
    Untracked:  sim.config

Unstaged changes:
    Modified:   .gitignore

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 f43a3e9 Joelle Mbatchou 2024-06-14 update index
html 5aa5092 Joelle Mbatchou 2024-06-14 Build site.
Rmd 0534bb2 Joelle Mbatchou 2024-06-14 update index
html 549c9a2 Joelle Mbatchou 2024-06-13 Build site.
Rmd e57f11a Joelle Mbatchou 2024-06-13 update index
html e3067e1 Joelle Mbatchou 2024-06-13 Build site.
Rmd 9a135de Joelle Mbatchou 2024-06-13 update index
html babc6c1 Joelle Mbatchou 2024-06-13 Build site.
Rmd a443238 Joelle Mbatchou 2024-06-13 update index
Rmd 7452073 Joelle Mbatchou 2024-06-12 update index links
html 7452073 Joelle Mbatchou 2024-06-12 update index links
Rmd 052e4ba Joelle Mbatchou 2024-06-12 update index page
html 052e4ba Joelle Mbatchou 2024-06-12 update index page
Rmd 8d5f0df Joelle Mbatchou 2024-06-12 fix index
html 8d5f0df Joelle Mbatchou 2024-06-12 fix index
html b88de26 Joelle Mbatchou 2024-06-12 update index page
Rmd b360d1b Joelle Mbatchou 2024-06-12 update index
Rmd 41e2ce2 Joelle Mbatchou 2024-06-12 update main page
html 41e2ce2 Joelle Mbatchou 2024-06-12 update main page
Rmd 32cf244 Joelle Mbatchou 2024-06-12 update main page
html 32cf244 Joelle Mbatchou 2024-06-12 update main page
Rmd ef2ac91 Joelle Mbatchou 2024-06-05 fix index
html ef2ac91 Joelle Mbatchou 2024-06-05 fix index
Rmd 4933eb5 Joelle Mbatchou 2024-06-05 cleanup index
html 4933eb5 Joelle Mbatchou 2024-06-05 cleanup index
Rmd 6404694 Joelle Mbatchou 2024-06-05 change R package list
html 6404694 Joelle Mbatchou 2024-06-05 change R package list
Rmd 79a3128 Joelle Mbatchou 2024-06-05 add gctb to pre-reqs
html 79a3128 Joelle Mbatchou 2024-06-05 add gctb to pre-reqs
Rmd ab74fc1 Joelle Mbatchou 2024-06-05 fix index
html ab74fc1 Joelle Mbatchou 2024-06-05 fix index
html ff0683e Joelle Mbatchou 2024-06-05 fix index
Rmd 4d07b73 Joelle Mbatchou 2024-06-05 fix index
Rmd c6da146 Joelle Mbatchou 2024-06-05 fix index
html c6da146 Joelle Mbatchou 2024-06-05 fix index
Rmd 27fc873 Joelle Mbatchou 2024-06-05 add index
html 4180324 Joelle Mbatchou 2024-06-05 update index
html de4ef79 Joelle Mbatchou 2024-06-05 add docs dir

Instructors: Joelle Mbatchou & Loic Yengo

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 (requires login) – 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 that will be recorded via Zoom live
  • 30 minutes of exercises for you to try
  • 15 minute discussion of exercises, where the instructors will present possible solutions and answer questions

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.

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).

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

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.5

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