getNodeAttributeNames: getNodeAttributeNames

Description Usage Arguments Value Author(s) See Also Examples

Description

Node and node attributes belong to the Cytoscape session as a whole, not to a particular window. Use this method to find out the names of the currently defined node attributes.

Usage

1

Arguments

obj

a CytoscapeConnectionClass object or CytoscapeWindow object.

Value

A list of names.

Author(s)

Tanja Muetze, Georgi Kolishovski, Paul Shannon

See Also

getNodeAttribute deleteNodeAttribute getEdgeAttributeNames

Examples

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

  cw <- CytoscapeWindow ('demo.getNodeAttributeNames', graph=makeSimpleGraph())
  displayGraph (cw)
  # displayGraph is required. If you do not display the graph,
  # your R graph data has not been sent to Cytoscape yet.
  print (getNodeAttributeNames (cw))
    # [1] "name"  "type"  "lfc"   "label" "count"

## End(Not run)

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