I have a dissimilarity matrix and I want to run hierarchical clustering using that matrix as the only input as I don't know the source data itself. For background, I aim at clustering elements using their mutual correlation as distance. Following the methodology indicate in here, I'm using the correlation matrix to compute the dissimilarity matrix to be given to hclust as input. This is working fine.
My question is: how do I find the optimal number of clusters? Is there an index that can be computed by only knowing the dissimilarity matrix? The indices in NbClust require the source data to run - it is not enough to know the dissimilarity matrix. Is there any other method I can use in R?