Description Usage Arguments Value Author(s) See Also Examples
Create a data frame with all the edge attributes for the graph contained by the supplied CytoscapeWindow object. Only the local copy of the graph is queried. If you want all the (possibly different) edge attributes from the Cytoscape network which corresponds to this graph, one option is to create a new CytoscapeWindow; see the existing.CytoscapeWindow function.
1 | getAllEdgeAttributes(obj, onlySelectedEdges=FALSE)
|
obj |
a |
onlySelectedEdges |
a |
A data frame, with a column for each attribute, a row for each edge.
Paul Shannon
getEdgeAttribute deleteEdgeAttribute getAllNodeAttributes
1 2 3 4 5 6 7 | window.name = 'demo.getAllEdgeAttributes'
cw = new.CytoscapeWindow (window.name, graph=makeSimpleGraph ())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw)
# get all attributes for all edges
tbl.noa = getAllEdgeAttributes (cw, onlySelectedEdges=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.