Skip to content
forked from jrs95/hyprcoloc

Hypothesis Prioritisation Multi-Trait Colocalization

Notifications You must be signed in to change notification settings

pgbreen/hyprmtc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprmtc

Hypothesis Prioritisation Multi-Trait Colocalization.

Functions

  • hyprmtc - performs multi-trait colocalization across numerous traits.

Installation

  1. install.packages("devtools")
  2. library(devtools)
  3. install_github("jrs95/hyprmtc")
  4. library(hyprmtc)

Example

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)

About

Hypothesis Prioritisation Multi-Trait Colocalization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 55.0%
  • C++ 45.0%