Closed DillonHammill closed 6 years ago
A gating set is not like other r objects. Consider this:
gs2 <- gs1
consider gs2 as a reference to gs1, not a copy. What you do to gs2 will also be reflected in gs1.
That's because a gating set is instanciated in C code.
If you want a real copy, use the clone
method.
Oh ok, good to know. Thanks Greg!
Hi Mike,
I have just run into an issue using
gating(gt,gs)
to apply a gatingTemplate to a GatingSet. When multiple GatingSets are defined in the global environment it seems as if gt is applied to all GatingSets not just the GatingSet passed to the function:Obviously this is not ideal for cases where you want to apply different gates to different GatingSets. I have not had time to look at the code specifically but hopefully you have an easy fix/workaround.
Cheers, Dillon