GetMetaclusters {FlowSOM} | R Documentation

## Get metacluster label for all individual cells

### Description

Get metacluster label for all individual cells

### Usage

    GetMetaclusters(fsom, meta = NULL)

### Arguments

`fsom` | FlowSOM object as generated by the FlowSOM function or the BuildSOM function
`meta` | Metacluster label for each FlowSOM cluster. If this is NULL, the fsom argument should be as generated by the FlowSOM function, and fsom$metaclustering will be used.

### 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)
    metacluster_labels <- GetMetaclusters(flowSOM.res)
    metacluster_labels <- GetMetaclusters(flowSOM.res,
                                          meta = flowSOM.res$metaclustering)

[Package FlowSOM version 2.2.0 Index]