Description Usage Arguments Value Author(s) References See Also Examples
query for nodes from a Cypher input. Quried results include node information and relationship information. Relationship information includes ID and name of adjacent nodes, name and additional attributes of relationships
1 | queryNode(querystring)
|
querystring |
string of Cypher |
list of data.frame containing node information and repationship information. Return empty list if found nothing.
Kwanjeera W kwanich@ucdavis.edu
The RCurl package http://www.inside-r.org/packages/cran/RCurl
curlRequestCypher
, curlPerform
1 2 3 | # Query metabolites by name
querystring = "UNWIND ['coa','co2','Malonyl-CoA'] AS x WITH x MATCH (n:Metabolite) WHERE lower(n.name) = lower(x) RETURN DISTINCT n"
result = queryNode(querystring)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.