Closed Biomiha closed 2 years ago
You need to recompute(cloned_gs)
after gates are added
Thanks for the suggestion @mikejiang. It works with the reprex but when I apply to my actual dataset I get an error:
Error in cpp_gating(x@pointer, y, alwaysLoadData, verbose, leaf.bool) :
Reference node: /Lymphocytes/Single Cells/Q4: CD4- , CD8- not found!
The error was actually due to the renaming of a parent gate of a boolean gate. Closing the issue. Thanks for the help @mikejiang.
Hi,
Apologies for reopening a closed issue. My issue is essentially exactly the same as #293, which seemed to be resolved, however I seem to be getting a strange error. I'd like to be able to apply existing gates to a new
GatingSet
. The reasons for wanting to do this are fairly obscure but by way of a reprex I've used the CytoExploreRdata that comes with the CytoExploreR package and have turned it into a FlowJo archive (available here) for development purposes.Parse workspace:
Plot
Now, if I clone both the GatingSet as well as the gates and try to apply the same gates to the cloned gatingset I get an error.
Clone gates:
Clone gs:
"root"
Plot cloned:
Not sure why I am not able to apply the same gates again to the cloned object? Obviously in my real world use case I would like to apply existing gates to a new gatingset but the issue is the same. Is this because cytoframes and cytosets exhibit different behaviours to flowframes and flowsets?