Multi SNP QTL MR evidence

xqtl_multi_snp_mr(exposure_gene = NULL, outcome_trait = NULL,
  mr_method = c("IVW", "Egger"), 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

mr_method

"IVW" or "Egger"

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/multi-snp-mr

Examples

xqtl_multi_snp_mr(outcome_trait = "Coronary heart disease")
#> # A tibble: 12 x 7 #> exposure_ensemb… exposure_name outcome_id outcome_name b se p #> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> #> 1 ENSG00000134222 PSRC1 7 Coronary he… -0.147 0.0190 9.74e-15 #> 2 ENSG00000135148 TRAFD1 7 Coronary he… 0.783 0.137 1.14e- 8 #> 3 ENSG00000183508 FAM46C 7 Coronary he… 0.161 0.0298 6.55e- 8 #> 4 ENSG00000133789 SWAP70 7 Coronary he… -0.128 0.0240 1.01e- 7 #> 5 ENSG00000151612 ZNF827 7 Coronary he… -0.336 0.0647 2.05e- 7 #> 6 ENSG00000076685 NT5C2 7 Coronary he… -0.102 0.0209 1.10e- 6 #> 7 ENSG00000130475 FCHO1 7 Coronary he… -0.126 0.0266 1.94e- 6 #> 8 ENSG00000212541 RNU6-510P 7 Coronary he… -0.153 0.0324 2.32e- 6 #> 9 ENSG00000152804 HHEX 7 Coronary he… -0.117 0.0250 2.77e- 6 #> 10 ENSG00000197520 FAM177B 7 Coronary he… 0.164 0.0355 3.96e- 6 #> 11 ENSG00000234608 MAPKAPK5-AS1 7 Coronary he… -0.112 0.0244 4.28e- 6 #> 12 ENSG00000242142 SERBP1P3 7 Coronary he… 0.115 0.0253 5.25e- 6