RGLab / openCyto

A package that provides data analysis pipeline for flow cytometry.
GNU Affero General Public License v3.0
75 stars 29 forks source link

plotGate issue ? #145

Closed kdh4win4 closed 7 years ago

kdh4win4 commented 7 years ago

Dear Mike and Finak,

For single set, The "plotGate(gss1t[[1]],"V450_gate") "works well.

gs1 <- GatingSet(fs100[1]) # one of 100 fcs files
gs1t <- transform(gs1, trans_123)
gt <- gatingTemplate("gt_080_y_m.csv") # for single set, 
gating(gt,  gs1t) 
plotGate(gss1t[[1]],"V450_gate") # ok

However, for 100 fcs file set, below code line does not working well.

# gs100t is transformed one hundred gating set. 
plotGate(gs100t,"V450_gate") # error
Error in .cpp_getGate(obj@pointer, sampleNames(obj), y) : 
  V450+ not found!

Thank you.

kdh4win4 commented 7 years ago

gt_080_y_m_boundary.xlsx

Other G660+, R730+, R780+, G780+ are working well on single set or one hundred fcs set

mikejiang commented 7 years ago

Your error message suggests it failed to find the gate that is named by v450+, yet your plotGate call is asking for v450_gate, which is contradicting the error message. So I am wondering if you are reporting it correctly. Why don't you paste the original output of traceback immediately after your plotGate's failure?

kdh4win4 commented 7 years ago

v450_gate and V450+ both have the same issue in hundred fcs file gating.

However, single sample fcs gating in hundred fcs group has no issue like this.

gfinak commented 7 years ago

As usual, you need to post working code, error messages, the relevant lines of your template and even a printout of the flowFrame that is failing. We don't have enough information to help your right now.

kdh4win4 commented 7 years ago

I guess there might be a conflict of same dim names, 'V450+' vs V450+' Thank you for your time.