Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/curlRequestCypher.R
execute query using Cypher as an input. The function calls curlPerform from RCurl for sending HTTP request to the graph database.
1 | curlRequestCypher(querystring)
|
querystring |
string of Cypher |
list of quried results. Return NULL
if found nothing.
Need to set db location
Kwanjeera W kwanich@ucdavis.edu
The RCurl package http://www.inside-r.org/packages/cran/RCurl
curlRequestUrlToDF
, curlRequestUrlToList
, curlPerform
, http://neo4j.com/docs/milestone/introduction.html
1 2 3 | # Query metabolites by database id
#querystring <- "UNWIND ['G7','G8'] AS x WITH x MATCH (node:Metabolite) WHERE lower(node.GID) = lower(x) RETURN DISTINCT node"
#result <- curlRequestCypher(querystring)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.