powered by
GET /xqtl/multi-snp-mr
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") )
Name of the exposure gene
Name of the outcome trait
"IVW" or "Egger"
"eQTL" or "pQTL"
P-value threshold
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.
mode = "table"
tibble
tidyverse
mode = "raw"
httr
Data from GET /xqtl/multi-snp-mr
# NOT RUN { xqtl_multi_snp_mr(outcome_trait = "Coronary heart disease") # }
Run the code above in your browser using DataLab