I want to pass my own distance matrix (row linkages) to seaborn clustermap.
There are already some posts on this like
Use Distance Matrix in scipy.cluster.hierarchy.linkage()?
But they all point to
Which takes the clustering metric and method as arguments.
scipy.cluster.hierarchy.linkage(y, method='single', metric='euclidean', optimal_ordering=False)
The input y may be either a 1d condensed distance matrix or a 2d array of observation vectors
What I dont get is this:
My distance matrix is already based on a certain metric and method, why would I want to recalculate this in scipy hierarchy linkage ?
Is there an option where it purely uses my distances and creates the linkages?