Get values for any node property of the specified nodes.

getNodeProperty(
  node.names = NULL,
  visual.property,
  network = NULL,
  base.url = .defaultBaseUrl
)

Arguments

node.names

List of node names or SUIDs. Default is NULL for all nodes.

visual.property

Name of a visual property. See getVisualPropertyNames.

network

(optional) Name or SUID of the network. Default is the "current" network active in Cytoscape.

base.url

(optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3.

Value

Named list of property values

Details

This method retrieves the actual property of the node, given the current visual style, factoring together any default, mapping and bypass setting.

Examples

# \donttest{
getNodeProperty(c('node 0','node 1'),'NODE_SHAPE')
# }