cypher: Send a query in Cypher to EpiGraphDB

Description Usage Arguments Examples

View source: R/cypher.R

Description

NOTE: this function is intended for advanced uses. Regular users are recommended to use standard query functions

Usage

1
cypher(query, mode = c("table", "raw"))

Arguments

query

A Cypher query.

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.

Examples

1
cypher("MATCH (n:Gwas) RETURN n LIMIT 2")

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