Description Usage Arguments Value Author(s) See Also Examples
Transfer the named edge attribute from the the R graph (found in obj@graph) to Cytoscape. This method is typically called by displayGraph, which will suffice for most users' needs. It transfers the specified edge attributes, for all edges, from the cw@graph slot to Cytoscape.
1 | setEdgeAttributes(obj, attribute.name)
|
obj |
a |
attribute.name |
a |
None.
Paul Shannon
setEdgeAttributesDirect setNodeAttributes setNodeAttributesDirect
1 2 3 4 5 | cw <- new.CytoscapeWindow ('setEdgeAttributes.test', graph=makeSimpleGraph())
attribute.names = eda.names (cw@graph)
for (attribute.name in attribute.names)
result = setEdgeAttributes (cw, attribute.name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.