Single SNP QTL MR evidence

xqtl_single_snp_mr(exposure_gene = NULL, outcome_trait = NULL,
  snp = NULL, qtl_type = c("eQTL", "pQTL"), pval_threshold = 1e-05,
  mode = c("table", "raw"))

Arguments

exposure_gene

Name of the exposure gene

outcome_trait

Name of the outcome trait

snp

SNP rsid

qtl_type

"eQTL" or "pQTL"

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 /xqtl/single-snp-mr

Examples

xqtl_single_snp_mr(outcome_trait = "Coronary heart disease")
#> # A tibble: 404 x 8 #> exposure_ensemb… exposure_name outcome_id outcome_name b se p #> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> #> 1 ENSG00000147889 CDKN2A 7 Coronary he… -1.97 0.135 4.98e-48 #> 2 ENSG00000173207 CKS1B 7 Coronary he… 1.14 0.140 3.34e-16 #> 3 ENSG00000134222 PSRC1 7 Coronary he… -0.159 0.0205 7.40e-15 #> 4 ENSG00000140403 DNAJA4 7 Coronary he… -1.02 0.144 1.12e-12 #> 5 ENSG00000197520 FAM177B 7 Coronary he… 0.192 0.0288 2.84e-11 #> 6 ENSG00000147883 CDKN2B 7 Coronary he… -0.880 0.133 4.09e-11 #> 7 ENSG00000160179 ABCG1 7 Coronary he… -0.856 0.132 8.17e-11 #> 8 ENSG00000165071 TMEM71 7 Coronary he… -0.954 0.150 1.93e-10 #> 9 ENSG00000144635 DYNC1LI1 7 Coronary he… -1.01 0.158 1.93e-10 #> 10 ENSG00000171988 JMJD1C 7 Coronary he… -0.706 0.111 1.93e-10 #> # … with 394 more rows, and 1 more variable: snp <chr>