public class SubNetworkUtils extends Object
| Constructor and Description |
|---|
SubNetworkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Vector<Object> |
getDifferentSubSystems(org.cytoscape.model.CyTable table,
String ColName)
Get a Vector of SubSystem Identifiers from the given CyTable and the given Column name (i.e.
|
static Vector<String> |
getNodeTableColumnNames(org.cytoscape.model.CyNetwork network)
Get all Columns present in the node Table of the provided network
|
static boolean |
isempty(org.cytoscape.model.CyRow row,
String ColName)
Check whether the entry of Column ColName in CyRow row is empty.
|
static boolean |
isempty(Object Entry)
Check whether a given Object is either empty or an empty String
|
static void |
setupNetworkForSubNetworkCreation(org.cytoscape.model.CyNetwork network,
IDARESettingsManager Idmgr,
String NodeTypeCol)
Set up the Network for SubNetwork Generation, i.e.
|
public static Vector<String> getNodeTableColumnNames(org.cytoscape.model.CyNetwork network)
network - The network to get the Column names for.public static void setupNetworkForSubNetworkCreation(org.cytoscape.model.CyNetwork network,
IDARESettingsManager Idmgr,
String NodeTypeCol)
network - - the network to set upIdmgr - - the ID ManagerNodeTypeCol - - The NodeType Column namepublic static Vector<Object> getDifferentSubSystems(org.cytoscape.model.CyTable table, String ColName)
table - - The table to look upColName - - The String identifying the Column to look up the different subsystem identifiersVector of column Identifierspublic static boolean isempty(org.cytoscape.model.CyRow row,
String ColName)
row - - The row in questionColName - - the Column to check.public static boolean isempty(Object Entry)
Entry - The Entry to check (whether its null or an empty string)Copyright © 2018. All rights reserved.