NClusters: NClusters

View source: R/3_buildMST.R

NClustersR Documentation

NClusters

Description

Extracts the number of clusters from a FlowSOM object

Usage

NClusters(fsom)

Arguments

fsom

FlowSOM object

Value

The number of clusters

Examples

 # 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)


SofieVG/FlowSOM documentation built on Feb. 1, 2024, 11:33 a.m.