What I am trying to do is to implement the Hierarchical Clustering algorithm with UPGMA (Average distance between clusters) and various distance metrics (Pearson, Manhattan).
The results required: plot of data in experiment space showing the clustering according to the various distance metrics and a text file with gene clustering using the notation: (A, ((B,C),D)) meaning B & C are closest and then D etc...
The code that I have compiles but I can't run it if you know what I am doing wrong please help. The code is below: