Entering edit mode
katharina.kriegsmann
▴
10
@katharinakriegsmann-23688
Last seen 5.5 years ago
Hi, I was wondering whether anybody could help with the following problem that occurs when using FlowSOM in the context of this code: https://github.com/sydneycytometry/CAPX.
> ## run FlowSOM (initial steps prior to meta-clustering)
> FlowSOM_out <- FlowSOM::ReadInput(data_FlowSOM, transform = FALSE, scale = FALSE)
> FlowSOM_out <- FlowSOM::BuildSOM(FlowSOM_out, colsToUse = FlowSOM_cols)
Building SOM
Mapping data to SOM
Error in if (length(y) > 0 && mean(y) != 0) { :
missing value where TRUE/FALSE needed
In addition: There were 50 or more warnings (use warnings() to see the first 50)
>
Katharina

I wonder if anyone else is facing a similar problem. I too got the error when ReadInput from a flowFrame, then BuildSOM.
class(data[[j]]) is 'flowFrame', with a summary :
which is processed from the FlowCAP dataset
I received the same error:
Error in if (length(y) > 0 && mean(y) != 0) {: missing value where TRUE/FALSE needed