selectNodes: selectNodes

Description Usage Arguments Value Author(s) See Also Examples

Description

Select the specified nodes.

Usage

1
selectNodes(obj, node.names, preserve.current.selection=TRUE)

Arguments

obj

a CytoscapeWindowClass object.

node.names

a list of strings, the names of nodes to select.

preserve.current.selection

a logical object.

Value

None.

Author(s)

Paul Shannon

See Also

clearSelection getSelectedNodeCount getSelectedNodes hideSelectedNodes

Examples

1
2
3
4
5
  cw <- new.CytoscapeWindow ('selectNodes.test', graph=makeSimpleGraph())
  clearSelection (cw)
  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.