edaR Documentation

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

Details

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

Value

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

Author(s)

Paul Shannon

See Also

eda.names

Examples

g  <- makeSimpleGraph()
eda (g, 'edgeType')

## The function is currently defined as
function (graph, edge.attribute.name)
{
  unlist (sapply (names (edgeData (graph)), function (n) edgeData (graph)[[n]][[edge.attribute.name]]))

  } # eda