Displaying 1 result from an estimated 1 matches for "cytoscapewindow".
2011 Feb 13
1
RCytoscape setPosition error
Hi
Can some one please point out where i am wrong.
I am trying to position set of nodes column-wise in cytoscape using
RCytoscape
A----D
B----E
C----F
-------------------
g <- new ('graphNEL', edgemode='undirected')
cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph())
layout (cw, 'jgraph-spring')
redraw(cw)
nodesFr = c('A', 'B', 'C')
nodesTo =c('D', 'E', 'F')
nodesAll = union(nodesFr, nodesTo)
nElemFr = length(nodesFr)
nElemTo = length(nodesTo)...