pick_best_cluster_modularity {immunaut} | R Documentation |
Pick Best Cluster by Modularity
Description
This function selects the best cluster from a list of clustering results based on the highest modularity score.
Usage
pick_best_cluster_modularity(tsne_clust)
Arguments
tsne_clust |
A list of clustering results where each element contains clustering information, including the modularity score. |
Details
The function iterates over a list of clustering results (tsne_clust
) and
selects the cluster with the highest modularity score. If no clusters are valid or
the tsne_clust
list is empty, the function will stop and return an error.
Value
Returns the clustering result with the highest modularity score.
[Package immunaut version 1.0.1 Index]