Overview
The GRAB (Genome-wide Robust Analysis methods designed for Biobank data) R package is primarily designed to perform GWAS accounting for sample relatedness and population structure. It supports multiple trait types with unified two-step framework. Additionally, the package can be used to:
- Simulate genotype and phenotype data
- Calculate sparse GRM
- Read genotype data from PLINK or BGEN files
Installation
CRAN
Install GRAB from CRAN in your R console:
install.packages("GRAB", dependencies = TRUE)
Conda
Install GRAB in a new Conda environment named grab_env from the conda-forge channel:
conda create -n grab_env -c conda-forge r-grab r-skat r-dbplyr r-tidyr
Docker
Pull the latest GRAB Docker image from Docker Hub:
docker pull geneticanalysisinbiobanks/grab:latest
License
GRAB is distributed under a GPL license.
Contact
If you have any questions about GRAB, please contact miaolin@pku.edu.cn.