getNodeAttributes: Get the attributes of a node, or all nodes in a Neo4j graph

View source: R/Getter_Functions.R

getNodeAttributesR Documentation

Get the attributes of a node, or all nodes in a Neo4j graph

Description

Get the attributes of a node, or all nodes in a Neo4j graph

Usage

getNodeAttributes(connection, property_key = NULL, property_key_value = NULL)

Arguments

connection

The Neo4j connection object.

property_key

The node property key name to be identified by.

property_key_value

The started node property key value to be found within.

Value

A dataframe containing the attributes of the specified node. If the node property key and value are not specified, all nodes with their attributes are returned, in case of success, otherwise the result from the Neo4j call.

Examples

## Not run: 
#To get all the nodes with their attributes
nodes = getNodeAttributes(connection)

#To get the nodes of name Complex70 with its attributes
nodes = getNodeAttributes(connection,"name","Complex70")

## End(Not run)

frankkramer-lab/Multipath2Neo4j documentation built on July 20, 2023, 11:43 p.m.