README.md

HyPrColoc

Hypothesis Prioritisation in multi-trait Colocalization (HyPrColoc) analyses.

Functions

Installation

  1. install.packages("devtools")
  2. library(devtools)
  3. install_github("jrs95/hyprcoloc", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)
  4. library(hyprcoloc)
  5. browseVignettes("hyprcoloc")

Example

# 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)

Citations



jrs95/hyprmtc documentation built on Oct. 17, 2019, 9:25 a.m.