get_gwas_lists: Retreive GWAS catalog data for a given list of traits

View source: R/get_gwas_lists.R

get_gwas_listsR Documentation

Retreive GWAS catalog data for a given list of traits

Description

Create gene list data.frame from input traits

Usage

get_gwas_lists(traits, genes)

Arguments

traits

vector of GWAS catalog traits. See gwas_table$DISEASE.TRAIT

genes

vector of gene names (genes detected in proteomic data)

Value

data.frame containing GWAS catalog info (PUBMEDID, DISEASE.TRAIT, SNP, P.VALUE, STUDY.ACCESSION) + MAPPED_GENE columns (restricting to traits and genes in input vectors)


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.