NClusters {FlowSOM} | R Documentation |
Extracts the number of clusters from a FlowSOM object
NClusters(fsom)
fsom |
FlowSOM object |
The number of clusters
# Build FlowSom result fileName <- system.file("extdata", "68983.fcs", package = "FlowSOM") ff <- flowCore::read.FCS(fileName) flowSOM.res <- FlowSOM(ff, compensate = TRUE, transform = TRUE, scale = TRUE, colsToUse = c(9, 12, 14:18), maxMeta = 10) NClusters(flowSOM.res)