queryNode: 'queryNode' query for nodes

Description Usage Arguments Value Author(s) References See Also Examples

Description

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

Usage

1
queryNode(querystring)

Arguments

querystring

string of Cypher

Value

list of data.frame containing node information and repationship information. Return empty list if found nothing.

Author(s)

Kwanjeera W kwanich@ucdavis.edu

References

The RCurl package http://www.inside-r.org/packages/cran/RCurl

See Also

curlRequestCypher, curlPerform

Examples

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)

kwanjeeraw/grinnWeb documentation built on May 20, 2019, 7:07 p.m.