Checks all the slots of the object, printing error messages as needed, returning TRUE or FALSE. In particular, RCytoscape imposes some requirements on graphs, including the use of an 'edgeType' edge attribute, and a call to initNodeAttribute and initEdgeAttribute for every attribute. These requirements are checked here.
||An instance of the CytoscapeWindow class|
TRUE or FALSE. Error messages are written to stderr.
g <- new ('graphNEL', edgemode='directed') cw <- new.CytoscapeWindow ('test validCyWin', graph=g) validCyWin (cw) # should see warning about absence of the privileged edge attribute 'edgeType'; returns FALSE