NClusters | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.