Class StructureInterfaceCluster
java.lang.Object
org.biojava.nbio.structure.contact.StructureInterfaceCluster
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddMember(StructureInterface interf) doubleReturns the average similarity score of the cluster.intgetId()doubleReturn the average buried surface area for this interface clustervoidsetAverageScore(double averageScore) voidsetId(int id) voidsetMembers(List<StructureInterface> members)
-
Constructor Details
-
StructureInterfaceCluster
public StructureInterfaceCluster()
-
-
Method Details
-
getMembers
-
setMembers
-
addMember
-
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 withStructureInterfaceList.getClusters()orStructureInterfaceList.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)
-