gwas_catalog_hits: GWAS top hits

View source: R/make_snplist.R

gwas_catalog_hitsR Documentation

GWAS top hits

Description

Extract results for top hits for the trait of interest from the NHGRI-EBI GWAS catalog

Usage

gwas_catalog_hits(
  trait = NULL,
  efo = NULL,
  efo_id = NULL,
  map_association_to_study = FALSE
)

Arguments

trait

the trait of interest as reported in the GWAS catalog

efo

trait of intersest in the experimental factor ontology

efo_id

ID for trait of interest in the experimental factor ontology

map_association_to_study

map associations to study in GWAS catalog. This supports matching of results on PMID and study ancestry, which increases accuracy of comparisons, but is slow when there are large numbers of associations. It is recommended that you run this function with map_association_to_study set to FALSE. Then, if large numbers of conflicting effect sizes are identified, re-run with this argument set to TRUE. Default = FALSE.

Value

data frame


MRCIEU/mrQC documentation built on May 6, 2023, 1:40 p.m.