metaClustering_consensus: MetaClustering

Description Usage Arguments Value See Also Examples

View source: R/4_metaClustering.R

Description

Cluster data using hierarchical consensus clustering with k clusters

Usage

1

Arguments

data

Matrix containing the data to cluster

k

Number of clusters

seed

Seed to pass to consensusClusterPlus

Value

Numeric array indicating cluster for each datapoint

See Also

MetaClustering

Examples

1
2
3
4
5
6
7
8
9
   # Read from file, build self-organizing map and minimal spanning tree
   fileName <- system.file("extdata", "68983.fcs", package="FlowSOM")
   flowSOM.res <- ReadInput(fileName, compensate=TRUE,transform=TRUE,
                            scale=TRUE)
   flowSOM.res <- BuildSOM(flowSOM.res,colsToUse=c(9,12,14:18))
   flowSOM.res <- BuildMST(flowSOM.res)
   
   # Apply consensus metaclustering
   metacl <- metaClustering_consensus(flowSOM.res$map$codes,k=10)    

FlowSOM documentation built on Nov. 8, 2020, 6:40 p.m.