## download the six example files from:
## https://www.dropbox.com/sh/hhta45cewvvea2s/AADfj4OXlbroToZAwIii2Buha?dl=0
## the summary statistics from Randall et al. (2013) PLoS Genet
## for males only
## bmi: body mass index
## hip: hip circumference
## wc: waist circumference
## whr: waist-hip ratio
## load the prepared set of independent SNPs
indep.snps <- as.character(read.table('indep.snps')$V1)
## load summary statistics of the six traits
stats.male <- load.summary(files = c('bmi.txt', 'height.txt',
'weight.txt', 'hip.txt', 'wc.txt',
'whr.txt'), indep.snps = indep.snps)
## perform multi-trait meta-GWAS
result <- MultiSummary(stats.male)
head(result)
Run the code above in your browser using DataLab