Description Usage Arguments Value Author(s) Examples
Assigns the supplied graph object to the appropriate slot in the specified CytoscapeWindow object.
1 | setGraph(obj, graph)
|
obj |
a |
graph |
a |
The modified CytoscapeWindow object.
Paul Shannon
1 2 3 4 | cw <- new.CytoscapeWindow ('setGraph.test') # an empty graph is created by default
graph <- makeSimpleGraph ()
setGraph (cw, graph)
print (length (nodes (getGraph (cw))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.