Description Usage Arguments Value Author(s) See Also Examples
In the specified CytoscapeWindow, set the size of the specified node(s). Note that the node dimensions (height and width) must be unlocked for this to work. Node height and width change together.
1 | setNodeSizeDirect(obj, node.names, new.sizes)
|
obj |
a |
node.names |
one or more |
new.sizes |
one or more |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
lockNodeDimensions setNodeWidthDirect setNodeHeightDirect
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('setNodeSizeDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork (cw, 'grid')
setNodeSizeDirect (cw, 'A', 32)
setNodeSizeDirect (cw, getAllNodes(cw), 15)
setNodeSizeDirect (cw, c('A', 'B'), c(30, 40))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.