selectNodes {RCy3} | R Documentation

## Select Nodes

### Description

Select nodes in the network by SUID, name or other column values.

### Usage

    selectNodes(
      nodes,
      by.col = "SUID",
      preserve.current.selection = TRUE,
      network = NULL,
      base.url = .defaultBaseUrl
    )

### Arguments

`nodes` | List of node SUIDs, names or other column values
`by.col` | Node table column to lookup up provide node values. Default is 'SUID'.
`preserve.current.selection` | `boolean` Whether to maintain previously selected nodes.
`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

`list` of newly selected node SUIDs

### Author(s)

AlexanderPico, Tanja Muetze, Georgi Kolishovski, Paul Shannon

### Examples

    selectNodes()

[Package RCy3 version 2.8.1 Index]