xqtl_multi_snp_mr: Multi SNP QTL MR evidence

Description Usage Arguments Value Examples

View source: R/xqtl.R

Description

GET /xqtl/multi-snp-mr

Usage

1
2
3
4
5
6
7
8
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

1
xqtl_multi_snp_mr(outcome_trait = "Coronary heart disease")

epigraphdb documentation built on March 29, 2021, 5:11 p.m.