A small helper function to check for non-standard or crash-inducing input when
users supply gates to define.flow.control().
Arguments
- gate.list
Named list of gates. To use this, pre-define the gates using
define.gate.landmarks()and/ordefine.gate.density(), ensure that the names of the gates correspond to the names in thecontrol.def.file, and ensure that thegate.namecolumn has been filled in for thecontrol.def.file.- control.table
Dataframe or table of the control file, read in via
define.flow.control()and cleaned up by that function.- asp
The AutoSpectral parameter list defined using
get.autospectral.param.- bound.tolerance
Numeric, default
0.05. Fractional margin, relative to each axis's configured range (scatter.data.max.* - scatter.data.min.*), allowed outsidescatter.data.min.*/scatter.data.max.*before a gate's coordinates are rejected.do.gate()'s own auto-gating search region is clamped to these same bounds rather than erroring when real data extends slightly past them (raw scatter from baseline-corrected digital detectors commonly dips a little negative near the origin), so a pre-defined gate is held to the same loose ceiling here rather than an exact boundary. Set to0to restore a hard boundary.