Pathway evidence

pathway(trait_name, pval_threshold = 1e-05, mode = c("table", "raw"))

Arguments

trait_name

A trait name

pval_threshold

P-value threshold

mode

If mode = "table", returns a data frame (a tibble as per tidyverse convention). If mode = "raw", returns a raw response from EpiGraphDB API with minimal parsing done by httr.

Value

Data from /pathway

Examples

pathway(trait_name = "Body mass index")
#> # A tibble: 79 x 12 #> gwas.trait gwas.id mre_study_snp.se mre_study_snp.e… mre_study_snp.p… #> <chr> <chr> <dbl> <dbl> <dbl> #> 1 Body mass… 2 0.0037 0.2 6.66e-30 #> 2 Body mass… 835 0.0038 0.2 5.56e-28 #> 3 Body mass… 835 0.0031 0.649 2.66e-26 #> 4 Body mass… 2 0.003 0.358 3.45e-25 #> 5 Body mass… 2 0.003 0.358 3.45e-25 #> 6 Body mass… 2 0.003 0.358 3.45e-25 #> 7 Body mass… 835 0.0031 0.358 3.14e-23 #> 8 Body mass… 835 0.0031 0.358 3.14e-23 #> 9 Body mass… 835 0.0031 0.358 3.14e-23 #> 10 Body mass… 785 0.0051 0.175 1.09e-19 #> # … with 69 more rows, and 7 more variables: mre_study_snp.samplesize <dbl>, #> # mre_study_snp.beta <dbl>, snp.name <chr>, gene.name <chr>, #> # protein.uniprot_id <chr>, pathway.name <chr>, pathway.reactome_id <chr>