data processing for UKB-Neale Labs GWAS summary statistics
dat4UKBNealeLab.Rddata processing for UKB-Neale Labs GWAS summary statistics
Arguments
- UKBGWAS.file
path of the GWAS summary statistics
- datUKBSNP
processed variants info obtained from variants.tsv.gz with
c("variant","rsid","consequence","consequence_category")- type
the type of exposure- or outcome- GWAS processed using
TwoSampleMR::format_data(). By default,type="outcome"- binaryTrait
an indicator of a binary trait or not. By default,
binaryTrait=TRUE.