Description Usage Arguments Value Note Author(s) See Also Examples
format a network or graph output from the database to the data frame format.
1 | formatNetworkOutput(graph)
|
graph |
list of paths containing network information to be formatted |
list of network information with the following components:
nodes:
id
= node neo4j id
gid
= node grinn id
nodename
= node name
nodelabel
= node type
nodexref
= node cross references
edges:
source, target
= node neo4j id
type
= relationship type
datasource
= relationship resource
properties
= relationship properties
Return empty list if error or found nothing.
maximum no. of paths returned = 30000 paths
Kwanjeera W kwanich@ucdavis.edu
fetchNetwork
, fetchHetNetwork
, fetchNetworkByGID
, fetchHetNetworkByGID
, http://neo4j.com/docs/stable/rest-api-transactional.html
1 2 3 | #cypher = "MATCH ptw = (from:Compound)-[:BIOCHEMICAL_REACTION]->(:Compound) WHERE ID(from) = 0 RETURN DISTINCT ptw LIMIT 2"
#nw = curlRequest.TRANSACTION(cypher)
#result = formatNetworkOutput.default(nw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.