Description Usage Arguments Value Author(s) See Also Examples
Write an image of the specified type to the specified file, at the specified scaling factor. Note: the file is written to the file system of the computer upon which Cytoscape is running, not R – in those cases where they are different.
1 |
obj |
a |
file.name |
a |
image.type |
a |
scale |
a |
None.
Paul Shannon
selectNodes clearSelection
1 2 3 4 5 6 | cw <- new.CytoscapeWindow ('saveImage.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw, 'jgraph-spring')
redraw (cw)
filename = tempfile () # paste (getwd (), 'saveImageTest.jpg', sep='/')
# saveImage (cw, filename, 'jpg', 2.0) # doesn't yet work reliably at bioc
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.