GetClusters: Get cluster label for all individual cells

View source: R/2_buildSOM.R

GetClustersR Documentation

Get cluster label for all individual cells

Description

Get cluster label for all individual cells

Usage

GetClusters(fsom)

Arguments

fsom

FlowSOM object as generated by the FlowSOM function or the BuildSOM function

Value

vector label for every cell

Examples

fileName <- system.file("extdata", "68983.fcs", package = "FlowSOM")
flowSOM.res <- FlowSOM(fileName, compensate = TRUE, transform = TRUE,
                      scale = TRUE, colsToUse = c(9, 12, 14:18), nClus = 10)
cluster_labels <- GetClusters(flowSOM.res)


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