Skip to content

Commit

Permalink
cluster labels plot
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Nov 3, 2023
1 parent d3b1ddd commit d4307f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/napatrackmater/Trackvector.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,13 @@ def unsupervised_clustering(
)
np.save(linkage_npy_file_name, shape_dynamic_linkage_matrix)

cluster_labels_npy_file_name = (
csv_file_name_original
+ track_arrays_array_names[track_arrays_array.index(track_arrays)]
+ "_cluster_labels.npy"
)
np.save(cluster_labels_npy_file_name, shape_dynamic_cluster_labels)


def convert_tracks_to_arrays(analysis_vectors, min_track_length=0):

Expand Down
4 changes: 2 additions & 2 deletions src/napatrackmater/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "4.4.2"
__version_tuple__ = version_tuple = (4, 4, 2)
__version__ = version = "4.4.3"
__version_tuple__ = version_tuple = (4, 4, 3)

0 comments on commit d4307f4

Please sign in to comment.