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