getNodeProperty: Get Node Property Values

View source: R/StyleValues.R

getNodePropertyR Documentation

Get Node Property Values

Description

Get values for any node property of the specified nodes.

Usage

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.

Details

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

Value

Named list of property values

Examples


getNodeProperty(c('node 0','node 1'),'NODE_SHAPE')


cytoscape/RCy3 documentation built on Nov. 1, 2024, 2:49 a.m.