cytoflowgui.workflow.operations.flowclean#

class cytoflowgui.workflow.operations.flowclean.Channel[source]#

Bases: HasTraits

class cytoflowgui.workflow.operations.flowclean.FlowCleanWorkflowOp[source]#

Bases: WorkflowOperation, FlowCleanOp

estimate(experiment)[source]#
default_view(**kwargs)[source]#

Returns diagnostic plots of FlowCleanOp’s actions.

Returns:

an IView, call plot to see the diagnostic plot.

Return type:

IView

apply(experiment)[source]#

Creates a new condition based on whether the event was dropped by the cleaning procedure in estimate() – essentially, a “gate” that cleans each tube’s data

Parameters:

experiment (Experiment) – the Experiment to apply the gate to.

Returns:

a new Experiment with the new condition.

Return type:

Experiment

clear_estimate()[source]#
get_notebook_code(idx)[source]#
class cytoflowgui.workflow.operations.flowclean.FlowCleanWorkflowView[source]#

Bases: WorkflowView, FlowCleanDiagnostic

plot(experiment, **kwargs)[source]#

Make a diagnostic plot for a FlowCleanOp operation.

Parameters:
  • plot_name (Str) – The tube filename to plot. The filenames can also be retrieved from enum_plots. This can be a full path or just the filename.

  • alpha (float (default = 0.25)) – The alpha blending value, between 0 (transparent) and 1 (opaque).

  • s (int (default = 0.5)) – The size in points^2.

  • marker (a matplotlib marker style, usually a string) – Specfies the glyph to draw for each point on the scatterplot. See matplotlib.markers for examples. Default: ‘o’

Notes

Other kwargs are passed to matplotlib.pyplot.scatter

get_notebook_code(idx)[source]#