selectEdgesAdjacentToNodes: Select Edges Adjacent To Nodes

View source: R/NetworkSelection.R

selectEdgesAdjacentToNodesR Documentation

Select Edges Adjacent To Nodes

Description

Takes list of node SUIDs, names or other column values and adds to the selection all edges connected to those nodes, regardless of directionality.

Usage

selectEdgesAdjacentToNodes(
  nodes,
  by.col = "name",
  selectNodes = 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 'name'.

selectNodes

The default is TRUE. If TRUE, nodes will also be selected.

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

Lists of SUIDs for selected nodes and edges

Examples


selectEdgesAdjacentToNodes()


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