FACSPy.dt.DivaWorkspace#
- class FACSPy.dt.DivaWorkspace(file)#
Class to represent a diva workspace. Currently experimental!
Built to be compatible with the flowkit package. Q1-Q4 Quadrant Gates are parsed as Polygon-Gates in contrast to GMLRectangle in Flowkit Quadrant Gates have an upper limit here in contrast to FlowKit were “None” is passed to extend the gates to infinity Binner-Regions are ignored as they define the points where the quadrant gates lie Code is inspired by CytoML, however one notable change: “restore to logicle scale” was removed
- Parameters:
file (
str) – The path or filename pointing to the table. Can be .txt, .csv.- Return type:
The object of
DivaWorkspace
Examples
>>> import FACSPy as fp >>> workspace = fp.dt.DivaWorkspace("workspace.xml") >>> workspace DivaWorkspace(3 groups: ['All Samples', 'Compensation', 'group1'], 99 entries.)
Methods