Description Usage Arguments Details Value Author(s) See Also Examples
Obtain the value of the specified edge attribute for every edge in the graph.
1 | 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
1 2 3 4 5 6 7 8 9 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.