DillonHammill / CytoExploreR

Interactive Cytometry Data Analysis
60 stars 13 forks source link

cyto_gate_draw and _edit do not properly display custom axis limits #190

Open kjen02 opened 11 months ago

kjen02 commented 11 months ago

I was attempting to only plot my data from 0 to 10^5 on both the x and y axes, however, the pop-up window only displays the population at 0 for both of these axes (a single point at (0,0)).

Normal: cyto_gate_edit(acti, parent = "Live Cells", alias = "NK Cells", channels = c("BV711-A", "BV421-A")) image

With both xlim and ylim set: cyto_gate_edit(acti, parent = "Live Cells", alias = "NK Cells", channels = c("BV711-A", "BV421-A"), xlim = c(0,100000), ylim = c(0,100000)) image Note the single pink point of data at (0,0)

Similarly, if I just put in an ylim, then it will only display a line of datapoints at y=0: cyto_gate_edit(acti, parent = "Live Cells", alias = "NK Cells", channels = c("BV711-A", "BV421-A"), ylim = c(0,100000)) image

cyto_plot works as expected: cyto_plot(acti, parent = "Live Cells", alias = "NK Cells", channels = c("BV711-A", "BV421-A"), xlim = c(0, 100000), ylim = c(0, 100000)) 11