Learn R Programming

RCy3 (version 1.2.0)

eda: eda

Description

Obtain the value of the specified edge attribute for every edge in the graph.

Usage

eda(graph, edge.attribute.name)

Arguments

graph
typically, a bioc graphNEL object
edge.attribute.name
a character string

Value

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

Details

The edge.attribute.name may be obtained from the function, eda.names.

See Also

eda.names

Examples

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

  g  <- makeSimpleGraph()
  eda (g, 'edgeType')
    #             A|B                B|C                C|A
    # "phosphorylates" "synthetic lethal"        "undefined"

Run the code above in your browser using DataLab