Install Package

# requires devtools
install.packages('devtools')
library(devtools)

# install package from github
install_github("mbyvcm/MRCIEUGTEx", quiet = T)
library(MRCIEUGTEx)

Directories to GTEx data on RDSF

# path to GTEx VCF file
gtex_vcf_dir <- ""

# path to expression & covariate tar directories downloaded from GTEx Portal 
covariate_matrix_tar  <- ""
expression_matrix_tar <- ""

The GTEx root directory on RDSF contains a config.R file which can be sourced to attach these path variables

source('config.R')

Format of input query SNPs

Input data.frame containing four columns:SNP




mbyvcm/MRCIEUGTEx documentation built on May 22, 2019, 12:58 p.m.