getSelectedNodes: getSelectedNodes

Description Usage Arguments Value Author(s) Examples

Description

Retrieve the identifiers of all the nodes selected in the current graph.

Usage

1

Arguments

obj

a CytoscapeWindowClass object.

Value

A list of character strings.

Author(s)

Paul Shannon

Examples

1
2
3
4
5
6
7
8
  cw <- new.CytoscapeWindow ('getSelectedNodes.test', graph=makeSimpleGraph())
  displayGraph (cw)
  layoutNetwork(cw, 'jgraph-spring')
  redraw (cw)
    # in Cytoscape, interactively select two nodes, or
  selectNodes (cw, c ('A','B'))
  getSelectedNodes (cw)
  # [1] "A" "B"


RCytoscape documentation built on May 20, 2017, 10:11 p.m.
Search within the RCytoscape package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.