run three-sample MR using MR-GRAPPLE
runGRAPPLE.Rd
run three-sample MR using MR-GRAPPLE
Usage
runGRAPPLE(
selGWAS.file,
expGWAS.file,
outGWAS.file,
pval,
ldRef,
clump_r2 = 0.001,
outPath
)
Arguments
- selGWAS.file
dataset with selection GWAS summary statistics
- expGWAS.file
dataset with exposure GWAS summary statistics
- outGWAS.file
dataset with outcome GWAS summary statistics
- pval
threshold of p-value for SNPs selection
- ldRef
location of ld reference panel
- clump_r2
the r2 used for clumping
- outPath
the path for saving figures generated from MR-GRAPPLE