Learn R Programming

epigraphdb (version 0.2.3)

xqtl_multi_snp_mr: Multi SNP QTL MR evidence

Description

GET /xqtl/multi-snp-mr

Usage

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

Examples

Run this code
# NOT RUN {
xqtl_multi_snp_mr(outcome_trait = "Coronary heart disease")
# }

Run the code above in your browser using DataLab