Skip to main content

Crate flow_control_detection

Crate flow_control_detection 

Source
Expand description

Filename heuristics for classifying flow cytometry control files.

Structs§

ControlClassification
Classification result for one file.
EndmemberMatch
Endmember ↔ control pairing suggestion.
FileInfo
Lightweight file descriptor for classification (no FCS dependency).

Enums§

ControlMaterial
ControlRole
Suggested role for a loaded FCS file in an unmix / compensation workflow.

Functions§

classify_controls
Classify files as unstained / single-stain / sample / unassigned from filenames.
endmember_display_label
Clean filename → human-readable endmember label.
extract_marker_and_fluor
Parse marker/fluorophore tokens from filename or $PnS-like text.
infer_control_material
Infer cells vs beads from filename tokens (SpectroFlo-style control type).
is_named_single_stain_control
Strong name signals for single-stain / reference controls (special chars ignored).
match_endmembers
Fuzzy-match endmember / detector names to single-stain control files.
normalize_control_filename
Lowercase alphanumerics only; other chars become spaces (so Single-Stainsingle stain).