Question: Error executing flowcore vignette
gravatar for Robert Baer
13 months ago by
Robert Baer70
United States
Robert Baer70 wrote:

I've been working my way through the flow core demo codec and encountered a problem on line 157:

> summary(filter(smaller[[1]],rectGate %&% morphGate))
Error in as.vector(data) : 
  no method for coercing this S4 class to a vector
> summary(filter(smaller[[1]],rectGate & morphGate))
Fluorescence Region and MorphologyGate+: 7193 of 8312 events (86.54%)

Is the operator really supposed to be %&% in this code?




ADD COMMENTlink modified 13 months ago by Jiang, Mike1.2k • written 13 months ago by Robert Baer70
gravatar for Jiang, Mike
13 months ago by
Jiang, Mike1.2k
(Private Address)
Jiang, Mike1.2k wrote:
Nothing wrong with the code and operator '%&%', you should type traceback() to find out where exactly failed. 

But this concept of combining two filters has been deprecated, you want to move on to 'GatingSet' section to learn how to build, track and record the gating hierarchy. Also refer to 'openCyto' for more streamlined and automated gating.

ADD COMMENTlink written 13 months ago by Jiang, Mike1.2k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 233 users visited in the last hour