Error executing flowcore vignette
1
0
Entering edit mode
Robert Baer ▴ 70
@robert-baer-4660
Last seen 18 months ago
United States

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?

 

 

 

flowcore vignette software error • 557 views
ADD COMMENT
0
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 8 weeks ago
(Private Address)
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 COMMENT

Login before adding your answer.

Traffic: 380 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6