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

Description Usage Arguments Value

View source: R/get_gwas_lists.R

Description

Create gene list data.frame from input traits

Usage

1
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)


frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.