getAllNodes: getAllNodes

Description Usage Arguments Value Author(s) Examples

Description

Retrieve the identifiers of all the nodes in the current graph - a list of strings.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

A list of character strings. Note that node names are returned – their original and primary identifiers – and that these may be different from the node labels that you see when you look at the graph in Cytoscape.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  ## Not run: 
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('getAllNodes.test', graph=makeSimpleGraph())
  displayGraph (cw)
  print (getAllNodes (cw))
    # [1] "A" "B" "C"

## End(Not run)

tmuetze/Bioconductor_RCy3_the_new_RCytoscape documentation built on May 31, 2019, 4:39 p.m.