|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.CyNetworkUtilities
public class CyNetworkUtilities
This class provides static methods that operate on a CyNetwork to perform various useful tasks. Many of these methods make assumptions about the data types that are available in the node and edge attributes of the network.
Constructor Summary | |
---|---|
CyNetworkUtilities()
|
Method Summary | |
---|---|
static boolean |
saveSelectedNodeNames(CyNetworkView networkView,
CyNetwork network,
String filename)
Saves all selected nodes in the current view to a file with the given name. |
static boolean |
saveVisibleNodeNames(CyNetwork network,
String filename)
Saves all nodes in the given network to a file with the given name. |
static boolean |
selectNodesStartingWith(CyNetwork network,
String key,
CyNetworkView networkView)
Selects every node in the current view whose canonical name, label, or any known synonym starts with the string specified by the second argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CyNetworkUtilities()
Method Detail |
---|
public static boolean saveSelectedNodeNames(CyNetworkView networkView, CyNetwork network, String filename)
public static boolean saveVisibleNodeNames(CyNetwork network, String filename)
public static boolean selectNodesStartingWith(CyNetwork network, String key, CyNetworkView networkView)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |