PheWAS (Phenome-wide association study) is a method that investigates the relationships between genetic variants and traits or phenotypes, helping in the study of their potential influence on multiple traits or diseases concurrently. This function retrieves the traits associated with a given variant in the UK Biobank, FinnGen, and/or GWAS Catalog summary statistics repository (only traits with a p-value less than 0.005 are returned).
Arguments
- variant_id
Character: generated ID for variants by Open Targets Genetics (e.g. 1_154119580_C_A) or rsId (rs2494663).
Value
A data frame with PheWAS associations.
The output data frame contains the following columns:
totalGWASStudies
: An integer indicating the total number of GWAS studies where the variant is associated.pval
: A numeric value representing the p-value of the association between the variant and the trait.beta
: A numeric value representing the beta value, which represents the effect size of the variant on the trait.oddsRatio
: A numeric value representing the odds ratio, measuring the association between the variant and the trait.nTotal
: An integer indicating the total number of participants in the study.study.studyId
: A character vector representing the study ID.study.source
: A character vector representing the source of the study.study.pmid
: A character vector representing the PubMed ID (PMID) of the study.study.pubDate
: A character vector representing the publication date of the study.study.traitReported
: A character vector representing the reported trait associated with the variant.study.traitCategory
: A character vector representing the category of the trait.