-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loss of ability to use gates in imported workspace without transforming the data #110
Comments
|
@gfinak Thanks for your reply! |
> gs <- flowjo_to_gatingset(ws, name = 4, transform = F, subset = 1)
'transform = false' is ignored when 'is_gating' is set to true!
> gs
A GatingSet with 1 samples You shouldn't need to fiddle with The right question is why your first gate is distorted, which may require a reproducible example to trouble shoot. (feel free to zip it and send it to [email protected]) |
Hey Mike, thanks for your comment. I understand that transform was only meant to be used in troubleshooting. However, until now, often when I had non-standard/non-FCS data that I needed to analyze in FlowJo and reimport in R, turning off transform was the only way for the gates to be parsed correctly. Thanks again for your help, I will send you a reproducible example via email later today. |
Again, It has nothing to do with transformation since all the channels are on linear scale. It turns out to be the gs <- flowjo_to_gatingset(ws,
name = 1,
subset = "CITEseq_downsampled.fcs",
sampNloc = "sampleNode"
, extend_val = -Inf
)
autoplot(gs[[1]],
gs_get_pop_paths(gs[[1]])[4]) > gh_pop_compare_stats(gs[[1]])
openCyto.freq xml.freq openCyto.count xml.count node
1: 1.0000000 1.000000 5000 5000 root
2: 1.0000000 1.000000 5000 5000 all cells
3: 0.8800000 0.882200 4400 4411 CD11b-CD14-
4: 0.1488636 0.148039 655 653 CD19-CD3- |
Cool!!! Thank you so much! I'll give it try and let you know how it goes! Thanks again! EDIT: @mikejiang it solved my issue! |
A few days ago I updated to R 4.0.2 and Bioc 3.11 and lost the ability to parse a FlowJo workspace using
flowjo_to_gatingset
usingtransform = FALSE
while also applying the gates.The feature described above was particularly useful when dealing with data that were transformed outside FlowJo but imported into FlowJo for gating. For us, this functionality is very important for analysis of CITEseq data.
I wonder whether it would be possible to re-enable the use of gates without data transformation (i.e., get "raw gates").
Here are the gates in FlowJo and in R:
In case helpful, for the gate above, the info in the wsp/xml file is:
This is the info from R:
The text was updated successfully, but these errors were encountered: