You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The label field that defines the stats position in the plot is optional and thus is currently omitted and has working fine for all close-ended gates until we encountered this gate generated by openCyto as open-ended rectangleGate to capture the cells in UR quadrant.
The solution is either Cytobank needs to fix it or CytoML has to explicitly provide the label info in json.
However, it is not clear how the label coordinates are scaled. Here is the manual gate drawn and output from cytobank
In trying to reproduce the issue, I am only getting NA values for statistics. This happens only when I gate on non-linear markers (eg CD33 etc). Statistics import fine with scatter. Below is an example with closed point gates.
With quad gates, statistics appear on the bottom left corner on top of each other.
Notice the plots for CD33 x CD20 appear uncompensated. I have seen this before and I have reason to believe it is a Cytobank specific bug (@katdrake you've seen this before). I'm going to have some people look at it on my end and once it's fixed I'll hopefully be able to reproduce and look into the problem with the upper right quad gate, and determine if the "bottom left corner" problem shown here is consistent.
The issue is reported by @cjungR in #25 (comment)
CytoML
writes thescale
info for thisgate
injson
definitionThe
label
field that defines thestats
position in the plot is optional and thus is currently omitted and has working fine for all close-ended gates until we encountered this gate generated byopenCyto
as open-endedrectangleGate
to capture the cells inUR
quadrant.In
ggcyto
, we superseded thegate range
withdata range
when the open-ended situation occurs, here is the code https://github.com/RGLab/ggcyto/blob/trunk/R/stat_position.R#L76-L79The solution is either
Cytobank
needs to fix it orCytoML
has to explicitly provide thelabel
info injson
.However, it is not clear how the label coordinates are scaled. Here is the manual gate drawn and output from
cytobank
And it seems to be different from the data scale.
The text was updated successfully, but these errors were encountered: