TASBE / TASBEFlowAnalytics

Flow cytometry unit conversion and analytics
Other
7 stars 8 forks source link

Gating plot fails with <3 points #505

Closed jakebeal closed 4 years ago

jakebeal commented 4 years ago

GMMGating.m line 201 calls convhull as part of visualizing the gate. When there are less than 3 points, convhull throws an error (a reasonable one in Matlab, an unreasonable one in Octave). Instead of letting this error break the flow, we should detect this case and provide a warning that the gate cannot be visualized because the number of points is too small.

jakebeal commented 4 years ago

Fixed in #506, #509