selectFirstNeighbors: Select first neighbor nodes

Description Usage Arguments Value Examples

View source: R/selectFirstNeighbors.R

Description

Select nodes directly connected to currently selected nodes. Can specify connection directionality using the direction param.

Usage

1
2
selectFirstNeighbors(direction = "any", network = "current",
  base.url = "http://localhost:1234/v1")

Arguments

direction

direction of connections to neighbors to follow, e.g., incoming, outgoing, undirected, or any (default)

network

name or suid of the network; default is "current" network

base.url

cyrest base url for communicating with cytoscape

Value

list of names of selected nodes, including original selection

Examples

1
2
3
selectFirstNeighbors()
selectFirstNeighors('outgoing')
selectFirstNeighors('incoming')

cytoscape/r2cytoscape documentation built on May 4, 2019, 6:36 p.m.