Fig. 2From: WormTensor: a clustering method for time-series whole-brain activity data from C. elegansEstimation of the number of clusters. The number of clusters was estimated by silhouette coefficients and prior knowledge about the movement of C. elegans. The cluster-based similarity partitioning algorithm (CSPA) and WormTensor with Euclidean distance and modified shape-based distance (mSBD) are performed with the number of clusters (2–20). a The x-axis represents the number of clusters, and the y-axis represents the average silhouette coefficient for all the cells for each number of clusters. b The silhouette coefficient for each cell in the optimal number of clustersBack to article page