cw <- new.CytoscapeWindow ('setNodeColorDirect.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
setNodeColorDirect (cw, 'A', '#880000')
redraw (cw)
Run the code above in your browser using DataLab