|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.util.GraphSetUtils
public class GraphSetUtils
Class contains various static methods to perform set-like operations on graph.
| Field Summary | |
|---|---|
protected static int |
DIFFERENCE
|
protected static int |
DIFFERENCE2
|
protected static int |
INTERSECTION
|
protected static int |
UNION
The different types of network graph operations |
| Constructor Summary | |
|---|---|
GraphSetUtils()
|
|
| Method Summary | |
|---|---|
static CyNetwork |
createDifferenceGraph(List networkList,
boolean copyView,
String title)
Create a new graph which is the difference of multiple graphs. |
static CyNetwork |
createDifferenceGraph2(List networkList,
boolean copyView,
String title)
The way this works is that the 2nd and optional additional networks will be subtracted from the 1st network. |
static CyNetwork |
createIntersectionGraph(List networkList,
boolean copyView,
String title)
Create a new graph which is the intersection of multiple graphs. |
static CyNetwork |
createUnionGraph(List networkList,
boolean copyView,
String title)
Create a new graph which is the union of multiple graphs. |
protected static int[] |
differenceEdges(List networkList)
Determine the set of difference edges. |
protected static int[] |
differenceEdges2(List networkList,
int[] nodes)
Determine the set of difference edges. |
protected static int[] |
differenceNodes(List networkList,
int[] edges)
Determine the set of difference nodes. |
protected static int[] |
differenceNodes2(List networkList)
Returns the nodes of the 1st network that are not contained in any of the other networks. |
protected static int[] |
intersectEdges(List networkList)
Apply a simple intersection operation to the edge sets |
protected static int[] |
intersectNodes(List networkList)
Apply a simple intersection operation to the node sets |
protected static CyNetwork |
performNetworkOperation(List networkList,
int operation,
boolean copyView,
String title)
Protected helper function that actually does the heavy lifting to perform the set operations. |
protected static int[] |
unionizeEdges(List networkList)
Perform a simple set union on the sets of nodes |
protected static int[] |
unionizeNodes(List networkList)
Makes nodes request overtime pay. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int UNION
protected static final int INTERSECTION
protected static final int DIFFERENCE
protected static final int DIFFERENCE2
| Constructor Detail |
|---|
public GraphSetUtils()
| Method Detail |
|---|
public static CyNetwork createUnionGraph(List networkList,
boolean copyView,
String title)
networkList - A list containing all of the networks.copyView - This argument is ignored.title - The title of the new network
public static CyNetwork createIntersectionGraph(List networkList,
boolean copyView,
String title)
networkList - A list containing all of the networks.copyView - This argument is ignored.title - The title of the new network
public static CyNetwork createDifferenceGraph(List networkList,
boolean copyView,
String title)
networkList - A list containing all of the networks.copyView - This argument is ignored.title - The title of the new network
public static CyNetwork createDifferenceGraph2(List networkList,
boolean copyView,
String title)
networkList - A list containing all of the networks.copyView - This argument is ignored.title - The title of the resulting, new network
protected static CyNetwork performNetworkOperation(List networkList,
int operation,
boolean copyView,
String title)
protected static int[] differenceEdges(List networkList)
networkList - A lists containing cyNetworks
protected static int[] differenceNodes2(List networkList)
networkList - A lists containing cyNetworks
protected static int[] differenceNodes(List networkList,
int[] edges)
networkList - A lists containing cyNetworksedges - The difference set of edges
protected static int[] differenceEdges2(List networkList,
int[] nodes)
networkList - A lists containing cyNetworksnodes - The difference set of nodes
protected static int[] intersectNodes(List networkList)
networkList - A list of cyNetworks
protected static int[] intersectEdges(List networkList)
networkList - A list of cyNetworks
protected static int[] unionizeNodes(List networkList)
networkList - a list of cyNetworks
protected static int[] unionizeEdges(List networkList)
networkList - a list of cyNetworks
|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||