epigraphdb0.2.3 package

Interface Package for the 'EpiGraphDB' Platform

api_get_request

Wrapper of httr::GET that handles status errors and custom headers

api_post_request

Wrapper of httr::POST that handles status errors and custom headers

api_request

The very general wrapper from EpiGraphDB endpoint request

confounder

MR evidence on confounding traits between exposure and outcome

cypher

Send a query in Cypher to EpiGraphDB

drugs_risk_factors

Drugs for risk factors

epigraphdb-package

epigraphdb: Interface Package for the 'EpiGraphDB' Platform

flatten_response

Flatten the "results" field from an API response to a tibble df

genetic_cor

Genetic correlations between traits

http_condition

Modified httr::http_condition

literature_gwas

Literature evidence regarding a GWAS trait

mappings_gene_to_protein

Return protein uniprot_id from associated genes

meta_nodes_list

List meta nodes (e.g. Gwas, Gene, etc.)

meta_nodes_list_node

List nodes under a meta node

meta_nodes_search_node

Search a node by its id field, or its name field

meta_rels_list

List meta rels (e.g. MR, etc.)

meta_rels_list_rel

List relationships under a meta relationship

mr

Return information related to Mendelian Randomisation

obs_cor

Observational correlations between traits

ontology_gwas_efo

Ontology association between EFO term and Gwas

pathway

Pathway evidence

pipe

Pipe operator

pqtl

Return information related to the pQTL analysis

pqtl_list

Return a list of all proteins/exposures or traits/outcomes available i...

pqtl_pleio

Return information related to the pleiotropy of SNPs

protein_in_pathway

For the list of proteins, returns their associated pathway data

query_epigraphdb

Send data request to an EpiGraphDB API endpoint

stop_for_status

Catch error for an HTTP response

xqtl_multi_snp_mr

Multi SNP QTL MR evidence

xqtl_single_snp_mr

Single SNP QTL MR evidence

The interface package to access data from the 'EpiGraphDB' <https://epigraphdb.org> platform. It provides easy access to the 'EpiGraphDB' platform with functions that query the corresponding REST endpoints on the API <https://api.epigraphdb.org> and return the response data in the 'tibble' data frame format.

  • Maintainer: Yi Liu
  • License: GPL-3
  • Last published: 2022-01-14