You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Phenograph option in utility.init_clustering() currently uses the Louvain algorithm (which is the default setting) and has no option for adjusting the number of clusters. Generally, the Leiden algorithm seems to be considered better than Louvain and can be enabled by the clustering_algo option; it also has the benefit of having an easy parameter to adjust number of clusters (resolution_parameter) which could easily be set using the k argument that already exists in the function.
The text was updated successfully, but these errors were encountered:
Also, the phenograph call needs to have the seed argument set to be reproducible, as pl.seed_everything() doesn't seem to set its random seed properly.
The Phenograph option in utility.init_clustering() currently uses the Louvain algorithm (which is the default setting) and has no option for adjusting the number of clusters. Generally, the Leiden algorithm seems to be considered better than Louvain and can be enabled by the clustering_algo option; it also has the benefit of having an easy parameter to adjust number of clusters (resolution_parameter) which could easily be set using the k argument that already exists in the function.
The text was updated successfully, but these errors were encountered: