Closed kim619 closed 1 year ago
Did you apply the gating template after restarting your session?
gs <- cyto_gatingTemplate_apply(gs, "gatingTemplate.csv")
Yes, you should apply the gatingTemplate after compensating and transforming the data.
Otherwise use cyto_save()
to export the entire GatingSet to a folder and simply reload it using cyto_setup()
.
cyto_save(
gs,
save_as = "GatingSet"
)
gs <- cyto_setup(
"GatingSet",
gatingTemplate = "gatingTemplate.csv"
)
Make sure you tell cyto_setup()
the name of the original gatingTemplate so that any new gates are saved there.
Sounds good! Thank you both!
Hi, I am wondering if there is a way to save the gating template without re-gating after re-opening the R studio. It seems to me that the data is already saved in the gating template though when I tried to use the gating population in cyto_plot(), it appeared as not found.
For example: