GWAS-extras
This folder contains functions from the genABEL package (no longer available) that will help with your GWAS analysis. For instructions, data and code, please follow the tutorial available at:
http://stat-gen.org/tut/tut_intro.html
In the genome-wide association analysis section of the tutorial, you will get either a warning or an error about the genABEL package. Instead of loading genABEL, ignore the error/warning and source the functions ztransform, rntransform, estlambda and GWAA.R (assuming those .R files are in your R working directory):
# Phenotype data preparation
# library(GenABEL)
source("ztransform.R")
source("rntransform.R")
source("estlambda.R")
source("GWAA.R")
NEW: If you are using R 4.0.x on a mac, you may get an error when you execute the GWAA function. If that happens, you should downgrade R to 3.6.0 (for example) and see if that works. If you still have problems, please contact me and we will try to work it out.
You are supposed to work on this analysis and report ALONE. Please don't hesitate to ask me if you have any questions.