RGLab / flowIncubator

Routines that don't belong to the core flow packages yet.
1 stars 3 forks source link

Import gatingML(cytobank) into a gating tree #23

Closed mikejiang closed 8 years ago

mikejiang commented 8 years ago

Turns out that the multiple GateSets (or Populations) can use exactly the same collections of gates, which means the same cell population is defined multiple times (just by different names). I don't fully understand the rationale behind this behavior. It seems to be that it could have been checked and avoided by Cytobank system.

mikejiang commented 8 years ago

Here is one example of duplicated definition of GateSets image

and its population tree image

mikejiang commented 8 years ago

Due to this duplication, the algorithm could discover multiple parents for one population potentially, it is not clear which one should be picked.

EDIT: looking at Cytobank JSON code, it just picks the first match, which is the same as what we are currently doing.