SofieVG / FlowSOM

Using self-organizing maps for visualization and interpretation of cytometry data
61 stars 26 forks source link

Error while using CountGroups Function #30

Closed pablasimarjot closed 3 years ago

pablasimarjot commented 4 years ago

groupRes<-CountGroups(fSOM[[1]], fgroups)

Getting the following error while running the command above:

[1]"/path/Sample.fcs" Error in newdata[, colnames(codes)] : subscript out of bounds

tomerlan commented 4 years ago

You probably applied FlowSOM to a subsetted FlowSet. If this is the case, you need to first re-write the subsetted FlowSet into fcs files and then read these new files rather than the originals with CountGroups.