|
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.Semantics
public class Semantics
This class defines names for certain data attributes that are commonly used within Cytoscape. The constants defined here are provided to enable different modules to use the same name when referring to the same conceptual attribute. This class also defines some static methods for assigning these attributes to a network, given the objects that serve as the source for this information. This is a logacy code. Use CANONICAL_NAME and INTERACTION only. Other values and functions are not in use Cytoscape.
Field Summary | |
---|---|
static String |
BIOLOGICAL_PROCESS
Deprecated. |
static String |
CANONICAL_NAME
The name "CANONICAL_NAME" is an historical artifact. |
static String |
CELLULAR_COMPONENT
Deprecated. |
static String |
DNA
Deprecated. |
static String |
GO_ALIASES
Deprecated. |
static String |
GO_COMMON_NAME
Deprecated. |
static String |
INTERACTION
Represents edge type attribute. |
static String |
MOLECULAR_FUNCTION
Deprecated. |
static String |
MOLECULE_TYPE
Deprecated. |
static String |
PROTEIN
Deprecated. |
static String |
RNA
Deprecated. |
static String |
SPECIES
Deprecated. |
Constructor Summary | |
---|---|
Semantics()
|
Method Summary | |
---|---|
static void |
applyNamingServices(CyNetwork network)
Deprecated. |
static boolean |
areSynonyms(String firstName,
String secondName,
CyNetwork network)
Deprecated. |
static void |
assignCommonNames(CyNetwork network,
BioDataServer bioDataServer)
Deprecated. |
static void |
assignNodeAliases(CyNode node,
String species,
BioDataServer bds)
Deprecated. |
static void |
assignSpecies(CyNetwork network)
Deprecated. |
static List |
getAllSynonyms(String name,
CyNetwork network)
Deprecated. |
static String |
getInteractionType(CyNetwork network,
Edge edge)
Returns the interaction type of the given edge. |
static String[] |
getInteractionTypes(CyNetwork network)
Returns an array containing all of the unique interaction types present in the network. |
static Set |
getSpeciesInNetwork(CyNetwork network)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CANONICAL_NAME
public static final String INTERACTION
@Deprecated public static final String GO_COMMON_NAME
@Deprecated public static final String GO_ALIASES
@Deprecated public static final String SPECIES
@Deprecated public static final String MOLECULE_TYPE
@Deprecated public static final String PROTEIN
@Deprecated public static final String DNA
@Deprecated public static final String RNA
@Deprecated public static final String MOLECULAR_FUNCTION
@Deprecated public static final String BIOLOGICAL_PROCESS
@Deprecated public static final String CELLULAR_COMPONENT
Constructor Detail |
---|
public Semantics()
Method Detail |
---|
@Deprecated public static void applyNamingServices(CyNetwork network)
@Deprecated public static void assignSpecies(CyNetwork network)
@Deprecated public static Set getSpeciesInNetwork(CyNetwork network)
@Deprecated public static void assignNodeAliases(CyNode node, String species, BioDataServer bds)
Note: This is only for GO data!
node
- the Node that will be assigned namesspecies
- the species of the Node ( NOTE: if null, there will be a check
to see if the node has a species set for attribute
Semantics.SPECIES, if not, then the general Cytoscape
defaultSpecies ( settable with -s ) will be used. )bds
- the given BioDataServer ( NOTE: if null, then the general
Cytoscape BioDataServer will be used ( settable with -b ) ).@Deprecated public static void assignCommonNames(CyNetwork network, BioDataServer bioDataServer)
public static String[] getInteractionTypes(CyNetwork network)
public static String getInteractionType(CyNetwork network, Edge edge)
@Deprecated public static boolean areSynonyms(String firstName, String secondName, CyNetwork network)
@Deprecated public static List getAllSynonyms(String name, CyNetwork network)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |