DillonHammill / CytoExploreR

Interactive Cytometry Data Analysis
60 stars 13 forks source link

cyto_plot_gating_scheme aborts with error #187

Open kjen02 opened 1 year ago

kjen02 commented 1 year ago

I am attempting to plot my gating scheme. However, while using cyto_plot_gating_scheme, the process aborts after either 4 or 5 plots with the error:

Error in if (channels[1] == channels[2] | (!.empty(channels[1]) & .empty(channels[2]))) { : missing value where TRUE/FALSE needed

I have two activation gating data sets, and this issue is reproducible across both sets of data.

gs <- cyto_setup("ActivationSet1", gatingTemplate = "ActivationSet1-gatingTemplate.csv")
gs <- cyto_compensate(gs, spillover = "Spillover-Matrix.csv")
gs <- cyto_transform(gs)
cyto_gatingTemplate_apply(gs, "ActivationSet1-gatingTemplate.csv")
cyto_plot_gating_scheme(gs)

After running cyto_plot_gating_scheme(gs), it aborts after plotting the gates in the first attached image with the error listed above. However, I have more gates that need to be plotted, as seen in the gating tree.

image image