
Last chance! 50% off unlimited learning
Sale ends in
FlowSOM(input, pattern=".fcs", compensate=FALSE, spillover=NULL, transform=FALSE, toTransform=NULL, scale=TRUE, scaled.center=TRUE, scaled.scale=TRUE, silent=TRUE, colsToUse, nClus=NULL, maxMeta,...)
NULL
and transform = TRUE
, column
names of $SPILL
description in fcs file will
be used.scale
scale
TRUE
, no progress updates will be printedNULL
,
several options will be tried (1:maxMeta
)list
with two items: the first is the flowSOM object containing
all information (see the vignette for more detailed information about this
object), the second is the metaclustering of the nodes of the grid. This
is a wrapper function for ReadInput
, BuildSOM
,
BuildMST
and MetaClustering
. Executing them
separately may provide more options.
scale
,ReadInput
,BuildSOM
,
BuildMST
,MetaClustering
# Read from file
fileName <- system.file("extdata","lymphocytes.fcs",package="FlowSOM")
flowSOM.res <- FlowSOM(fileName, compensate=TRUE,transform=TRUE,
scale=TRUE,colsToUse=c(9,12,14:18),maxMeta=10)
# Or read from flowFrame object
ff <- read.FCS(fileName)
ff <- compensate(ff,ff@description$SPILL)
ff <- transform(ff,transformList(colnames(ff@description$SPILL),
logicleTransform()))
flowSOM.res <- FlowSOM(ff,scale=TRUE,colsToUse=c(9,12,14:18),maxMeta=10)
# Get metaclustering per cell
flowSOM.clustering <- flowSOM.res[[2]][flowSOM.res[[1]]$map$mapping[,1]]
Run the code above in your browser using DataLab