cytoflowgui.op_plugins.kmeans#

This module uses the KMeans algorithm to assign events to clusters in an unsupervized manner.

Name

The operation name; determines the name of the new metadata

X Channel, Y Channel

The channels to apply the mixture model to.

X Scale, Y Scale

Re-scale the data in Channel before fitting.

Num Clusters

How many clusters to assign the data to.

By

A list of metadata attributes to aggregate the data before estimating the model. For example, if the experiment has two pieces of metadata, Time and Dox, setting By to ["Time", "Dox"] will fit the model separately to each subset of the data with a unique combination of Time and Dox.

../../_images/cytoflowgui-op_plugins-kmeans-1.png
class cytoflowgui.op_plugins.kmeans.KMeansHandler(*args: Any, **kwargs: Any)[source]#

Bases: OpHandler

class cytoflowgui.op_plugins.kmeans.KMeansViewHandler(*args: Any, **kwargs: Any)[source]#

Bases: ViewHandler

class cytoflowgui.op_plugins.kmeans.KMeansPlugin[source]#

Bases: Plugin, PluginHelpMixin

operation_id = 'cytoflow.operations.kmeans'#
view_id = 'cytoflowgui.op_plugins.kmeans'#
short_name = 'KMeans'#
menu_group = 'Clustering'#
get_operation()[source]#
get_handler(model, context)[source]#
get_icon()[source]#