naplib-python
naplib-python copied to clipboard
Add axis argument to hierarchical clustering
Expected Behavior
naplib.visualization.hierarchical_cluster_plot
should have an axis
argument which would be one of ['x', 'y', 'xy']
that specifies which axis of the data matrix to perform hierarchical clustering on. If x
, the dendrogram will be on the top of the data figure (the current default). If y
, the dendrogram would be to the left of the data figure. If xy
, there would be two dendrograms, one above and one to the left of data.