Class StructureInterfaceCluster

java.lang.Object
org.biojava.nbio.structure.contact.StructureInterfaceCluster
All Implemented Interfaces:
Serializable

public class StructureInterfaceCluster extends Object implements Serializable
See Also:
  • Constructor Details

    • StructureInterfaceCluster

      public StructureInterfaceCluster()
  • Method Details

    • getMembers

      public List<StructureInterface> getMembers()
    • setMembers

      public void setMembers(List<StructureInterface> members)
    • addMember

      public boolean addMember(StructureInterface interf)
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getTotalArea

      public double getTotalArea()
      Return the average buried surface area for this interface cluster
      Returns:
    • getAverageScore

      public double getAverageScore()
      Returns the average similarity score of the cluster. For clusters calculated with StructureInterfaceList.getClusters() or StructureInterfaceList.clusterInterfaces(List, java.util.function.Function, double), it is the average of the contact overlap scores between the representative (first member) and the representatives of the clusters merged into it, or 1.0 if nothing was merged. Note that it is not the average over all pairs of members.
      Returns:
      the average score
    • setAverageScore

      public void setAverageScore(double averageScore)