Learn R Programming

RCy3 (version 1.2.0)

eda.names: eda.names

Description

Retrieve the names of the edge attributes in the specified graph. These are typically strings like 'score', 'weight', 'link', and (strongly recommended when you create a graph) 'edgeType'. Once you are reminded of the names of the edge attributes, you can use the method 'eda' to get all the values of this attribute for the edges in the graph.

Usage

eda.names (graph)

Arguments

graph
typically, a bioc graphNEL)

Value

A list, the contents of which are the attribute values, the names of which are the names of the edges.

See Also

noa, eda, noa.names

Examples

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

  g <- makeSimpleGraph()
  eda.names (g)
   # "edgeType" "score"    "misc"

Run the code above in your browser using DataLab