Class Pathway
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.Pathway
public class Pathway extends Object
-
Constructor Summary
Constructors Constructor Description Pathway(KeggId name, MapOrg org, MapNumber number, String title, Url image, Url link, Collection<Entry> entries, Collection<Reaction> reactions, Collection<Relation> relations)
-
Method Summary
-
Constructor Details
-
Pathway
public Pathway(KeggId name, MapOrg org, MapNumber number, String title, Url image, Url link, Collection<Entry> entries, Collection<Reaction> reactions, Collection<Relation> relations)
-
-
Method Details
-
getName
-
getMapOrg
-
getTitle
-
testGML2Pathway2GML
public static void testGML2Pathway2GML() -
testShowPathwayInfo
-
testShowPathwayComparison
Compare two pathways- Parameters:
p1
- Pathway 1p2
- Pathway 2showMessage
- If true, the differences will be shown in a task panel- Returns:
- Number of differences, 0 if p1 and p2 appear to be the same.
-
getEntries
-
getReactions
-
getRelations
-
getPathwayFromKGML
-
getPathwayFromKGML
-
getPathwayFromKGML
-
getKgmlDocument
public org.jdom2.Document getKgmlDocument()UsegetPathwayFromKGML
to read a KGML document and to create pathway object. Use this method to create KGML document from a pathway object.- Returns:
- A JDOM XML Document containing the pathway information of this object.
-
getGraph
-
getGraph
-
getPathwayFromGraph
public static Pathway getPathwayFromGraph(Graph graph, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors, HashMap<Entry,Node> entry2graphNode) -
findReaction
-
findReaction
-
findRelations
-
showKgmlErrors
public static void showKgmlErrors(Collection<Gml2PathwayErrorInformation> errors, Collection<Gml2PathwayWarningInformation> warnings) -
getNextID
public static int getNextID() -
resetIdGen
public static void resetIdGen() -
findMultipleEntries
-
mergeMultipleEntriesOfType
-
removeMergeTheseEntriesIfPossible
-