cellcharter.pl.autok_stability#
- cellcharter.pl.autok_stability(autok, save=None, return_ax=False)#
Plot the clustering stability.
The clustering stability is computed by
cellcharter.tl.ClusterAutoK.- Parameters:
autok (
ClusterAutoK) – The fittedcellcharter.tl.ClusterAutoKmodel.save (
Union[str,Path,None] (default:None)) – Whether to save the plot.similarity_function – The similarity function to use. Defaults to
sklearn.metrics.fowlkes_mallows_score().
- Return type:
- Returns:
Nothing, just plots the figure and optionally saves the plot.