cytoflowgui.workflow.operations.gaussian_1d¶
- class cytoflowgui.workflow.operations.gaussian_1d.GaussianMixture1DWorkflowOp[source]¶
Bases:
cytoflowgui.workflow.operations.operation_base.WorkflowOperation
,cytoflow.operations.gaussian.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
Experiment
with the new condition variables as described in the class documentation. Also adds the following new statistics:- meanFloat
the mean of the fitted gaussian in each channel for each component.
- sigma(Float, Float)
the locations the mean +/- one standard deviation in each channel for each component.
- correlationFloat
the correlation coefficient between each pair of channels for each component.
- 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_1d.GaussianMixture1DWorkflowView[source]¶
Bases:
cytoflowgui.workflow.views.view_base.WorkflowByView
,cytoflow.operations.gaussian.GaussianMixture1DView
- plot(experiment, **kwargs)[source]¶
A default
plot
that passescurrent_plot
as the plot name.