Class InteractionSimilarityTable


  • public class InteractionSimilarityTable
    extends java.lang.Object
    distance gives the distance of the point of highest potential. equivalence makes the difference, considering the distance and the potential distance is absolute, equivalence is relative to another distance
    Author:
    freyssj, modified by JW
    • Method Detail

      • getDistance

        public double getDistance​(int type1,
                                  int type2)
      • getDissimilarity

        public double getDissimilarity​(int type1,
                                       int type2)
        D(LigandType_1, LigandType_2) = Sum( d( F(ProteinType_i, LigandType_1), F(ProteinType_i, LigandType_2)), i)
        Parameters:
        type1 -
        type2 -
        Returns:
      • getEquivalentTypes

        public java.util.List<java.lang.Integer> getEquivalentTypes​(int type,
                                                                    double maxDist)
        Compare similarity values of 2 types (across all lines)
        Parameters:
        type -
        maxDist -
        Returns: