Learn R Programming

RCy3 (version 1.2.0)

getEdgeAttributeNames: getEdgeAttributeNames

Description

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

Usage

getEdgeAttributeNames(obj)

Arguments

obj
a CytoscapeConnectionClass object or CytoscapeWindow object.

Value

A list of names.

See Also

getEdgeAttribute deleteEdgeAttribute getNodeAttributeNames

Examples

Run this code
  # first, delete existing windows to save memory:
  deleteAllWindows(CytoscapeConnection())

  cw <- CytoscapeWindow ('demo.getEdgeAttributeNames', graph=makeSimpleGraph())
  displayGraph (cw)
  print (getEdgeAttributeNames (cw))
    # [1] "name"        "interaction" "edgeType"    "score"       "misc"   

Run the code above in your browser using DataLab