
Perform genome wide association study (GWAS)
GWAS.Rd
This function performs a GWAS on given genotype and phenotype data to find out how statistically associated SNPs are with a target disease.
Usage
GWAS(rds.obj, y, include = bigparallelr::rows_along(rds.obj$genotypes))
Arguments
- rds.obj
A list of length 3 containing an FBM.code256 named genotypes and accompanying FAM and MAP tibbles.
- y
Vector of regressands to regress on (typically case-control status of the genotypes in rds.obj)
- include
Vector of rows to use in regression. Used for prediction. Default uses all rows.