MATLAB and R code for jointly analyzing enriched gene sets (biological pathways) and associated variants (SNPs) from genome-wide data using Bayesian model averaging over multi-marker (polygenic) models of disease.