Skip to contents

data processing for UKB-Neale Labs GWAS summary statistics

Usage

dat4UKBNealeLab(UKBGWAS.file, datUKBSNP, type = "outcome", binaryTrait = TRUE)

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.