eda | R Documentation |
Obtain the value of the specified edge attribute for every edge in the graph.
eda(graph, edge.attribute.name)
graph |
typically, a bioc graphNEL object |
edge.attribute.name |
a character string |
The edge.attribute.name may be obtained from the function, eda.names.
A list, the contents of which are the attribute values, the names of which are the names of the edges.
Paul Shannon
eda.names
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