This package is a scalable GWAS implementation for the method described in Searching for local associations while controlling the false discovery rate by Gablenz et al.
Download and install Julia. Within Julia, run:
using Pkg
Pkg.add(url="https://github.com/pmgblz/LocalKnocks")This implementation differs from the original paper in several ways:
- Instead of modeling the entire genome using HMM knockoffs, we implement a sliding window approach
- Within each window, we sample second order (Gaussian) group knockoffs by the maximum entropy criteria
- To aggregate knockoff results across windows, we chose a Lasso
lambdavector for all windows as described in this paper and stitched the statistics together as this paper
Note: power can probably be improved if we sampled multiple knockoffs. Also, power probably depends on the Lasso lambda used, which we haven't optimized.