saeyslab / FlowSOM

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

Metaclustering is failing when mathod is not "metaClustering_consensus" #13

Closed gitdemont closed 2 years ago

gitdemont commented 2 years ago

I have just updated FlowSOM to v2.2.0 and I came into troubles using Metaclustering

As a reproducible example:

# from help
fileName <- system.file("extdata", "68983.fcs", package = "FlowSOM")
flowSOM.res <- FlowSOM::ReadInput(fileName, compensate = TRUE,transform = TRUE, scale = TRUE)
flowSOM.res <- FlowSOM::BuildSOM(flowSOM.res,colsToUse = c(9, 12, 14:18))
flowSOM.res <- FlowSOM::BuildMST(flowSOM.res)

# Apply metaclustering
metacl <- FlowSOM::MetaClustering(flowSOM.res$map$codes,
                         "metaClustering_kmeans",
                         max = 10)

# Error in method(data, k = res, seed = seed) : 
# unused argument (seed = seed)
gitdemont commented 2 years ago

Sorry this has been already issued #11