Hypothesis Prioritisation in multi-trait Colocalization (HyPrColoc) analyses.
- hyprcoloc - performs multi-trait colocalization across multiple traits.
- install.packages("devtools")
- library(devtools)
- install_github("jrs95/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)
- library(hyprcoloc)
- browseVignettes("hyprcoloc")
# Regression coefficients and standard errors from ten GWAS studies (Traits 1-5, 6-8 & 9-10 colocalize)
betas <- hyprcoloc::test.betas
head(betas)
ses <- hyprcoloc::test.ses
head(ses)
# Trait names and SNP IDs
traits <- paste0("T", 1:10)
rsid <- rownames(betas)
# Colocalization analysis
hyprcoloc(betas, ses, trait.names=traits, snp.id=rsid)
- HyPrColoc: Foley CN, Staley JR, et al. A fast and efficient colocalization algorithm for identifying shared genetic risk factors across multiple traits. BioRxiv 2019. doi: https://doi.org/10.1101/592238
- LD blocks: Berisa T & Pickrell JK. Approximately independent linkage disequilibrium blocks in human populations. Bioinformatics 2016; 32(2):283-285