Hypothesis Prioritisation Multi-Trait Colocalization.
- hyprmtc - performs multi-trait colocalization across numerous traits.
- install.packages("devtools")
- library(devtools)
- install_github("jrs95/hyprmtc")
- library(hyprmtc)
betas <- hyprmtc::betas
head(betas)
ses <- hyprmtc::ses
head(ses)
traits <- paste0("T", 1:10)
rsid <- rownames(betas)
ld <- hyprmtc::ld
corr <- diag(10)
hyprmtc(betas, ses, trait.names=traits, snp.id=rsid, ld.matrix=ld, trait.cor=corr, n.cvs=1, bb.alg=TRUE)