whitews / FlowKit

A Python toolkit for flow cytometry analysis supporting GatingML and FlowJo workspaces
https://flowkit.readthedocs.io
BSD 3-Clause "New" or "Revised" License
157 stars 39 forks source link

Automatic gating using clustering techniques #216

Closed benweinberg89 closed 2 months ago

benweinberg89 commented 2 months ago

Is there a built-in way to automatically generate gates (e.g. ellipsoid or polygon) using gaussian mixtures models or kmeans clustering etc? Example: https://cytoflow.readthedocs.io/en/latest/user_manual/reference/operations/gaussian_2d.html https://cytoflow.readthedocs.io/en/latest/user_manual/reference/operations/kmeans.html

whitews commented 2 months ago

Hi Ben,

Currently there is no built-in mechanism to generate gate boundaries. However, any technique that can produce coordinates for polygon vertices or ellipsoid properties could be used to create a PolygonGate or EllipsoidGate.

Regards, Scott