cytoflowgui.workflow.operations.gaussian_2d#
- class cytoflowgui.workflow.operations.gaussian_2d.GaussianMixture2DWorkflowOp[source]#
Bases:
WorkflowOperation,GaussianMixtureOp- estimate(experiment)[source]#
Estimate the Gaussian mixture model parameters
- Parameters:
experiment (Experiment) – The data to use to estimate the mixture parameters
subset (str (default = None)) – If set, a Python expression to determine the subset of the data to use to in the estimation.
- apply(experiment)[source]#
Assigns new metadata to events using the mixture model estimated in
estimate.- Returns:
A new
Experimentwith the new condition variables as described in the class documentation. Also adds the following new statistics:- {{Channel}} Mean
the mean of the fitted gaussian in each channel for each component.
- {{Channel}} SD
The standard deviation of each channel for each component.
- {{Channel}} - {{Channel}} Correlation
The correlation coefficient between each pair of channels for each component.
- {{Channel}} ProportionFloat
the proportion of events in each component of the mixture model. only added if
num_components> 1.
- Return type:
- class cytoflowgui.workflow.operations.gaussian_2d.GaussianMixture2DWorkflowView[source]#
Bases:
WorkflowByView,GaussianMixture2DView- plot(experiment, **kwargs)[source]#
A default
plotthat passescurrent_plotas the plot name.