getAdjacentEdgeNames: getAdjacentEdgeNames

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RCytoscape.R

Description

Given one or more node names, this method returns the 'cy2-style' names of the immediately adjacent edges – suitable for being passed, for instance, to selectEdges, and thereby extending the selection.

Usage

1
getAdjacentEdgeNames(graph, node.names)

Arguments

graph

An R graph

node.names

character strings

Value

Zero or more cy2-style edge names.

Author(s)

Paul Shannon

See Also

cy2.edge.names, selectEdges, getSelectedNodes, selectFirstNeighborsOfSelectedNodes

Examples

1
2
3
  g <- makeSimpleGraph ()
  print (nodes (g))
  print (getAdjacentEdgeNames (g, 'A'))

RCytoscape documentation built on Nov. 17, 2017, 10:52 a.m.