Package org.biopax.paxtools.pattern.util
Class DifferentialModificationUtil
java.lang.Object
org.biopax.paxtools.pattern.util.DifferentialModificationUtil
THis class is used for comparing modification features of two PhysicalEntity objects of same
EntityReference.
- Author:
- Ozgun Babur
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectChangedPhosphorylationSites(PhysicalEntity before, PhysicalEntity after, boolean gained) static Set<ModificationFeature>[]getChangedModifications(PhysicalEntity before, PhysicalEntity after) Gets the differential features.
-
Constructor Details
-
DifferentialModificationUtil
public DifferentialModificationUtil()
-
-
Method Details
-
getChangedModifications
public static Set<ModificationFeature>[] getChangedModifications(PhysicalEntity before, PhysicalEntity after) Gets the differential features.- Parameters:
before- first entityafter- second entity- Returns:
- array of differential features. index 0: gained features, index 1: lost features
-
collectChangedPhosphorylationSites
public static Set<String> collectChangedPhosphorylationSites(PhysicalEntity before, PhysicalEntity after, boolean gained)
-