ebecht / infinityFlow

25 stars 8 forks source link

"Plotting" step during infinity_flow() crashed and only produced raw but not background-subtracted outputs? #28

Closed denvercal1234GitHub closed 1 year ago

denvercal1234GitHub commented 1 year ago

Hi there,

Thanks for the package.

The last step of the workflow of the infinity_flow() says “Producing Plots” under "Plotting" step in the console. But during this final step, my R always crashed or produce error with device PNG.

Plotting
    Chopping off the top and bottom 0.005 quantiles
    Shuffling the order of cells (rows)
    Producing plot
Error in .External2(C_X11, paste0("png::", filename), g$width, g$height,  : 
  unable to start device PNG
Calls: infinity_flow ... <Anonymous> -> color_biplot_by_channels -> lapply -> FUN -> png
In addition: Warning message:
In png(mainplot, res = resolution, height = raster.height * resolution/72,  :
  unable to open connection to X11 display ''
Execution halted
  1. Is it possible to skip the plotting step and just produce the FCS of the raw and background-subtracted outputs?

  2. When the crash happens (shown below), only “split” FCS of raw folder was produced and not the background-subtracted one. Can I trust that these raw FCS are still ok to analyze?

Screenshot 2023-06-29 at 10 30 16 Screenshot 2023-06-29 at 10 32 05

Thank you for your help.

denvercal1234GitHub commented 1 year ago

Background subtraction occurs after plotting for raw files.