public class UPGMALinkage extends Linkage
In bioinformatics, UPGMA is used for the creation of phenetic trees (phenograms). UPGMA assumes a constant rate of evolution (molecular clock hypothesis), and is not a well-regarded method for inferring relationships unless this assumption has been tested and justified for the data set being used.
Constructor and Description |
---|
UPGMALinkage(double[][] proximity)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
merge(int i,
int j)
Merge two clusters into one and update the proximity matrix.
|
java.lang.String |
toString() |
getProximity
public UPGMALinkage(double[][] proximity)
proximity
- the proximity matrix to store the distance measure of
dissimilarity. To save space, we only need the lower half of matrix.