flowSOM.MC: Cluster cytometry data using FlowSOM

Description Usage Arguments Value Examples

View source: R/flowSOM.MC.R

Description

A function that cluster cytometry data using FlowSOM.

Usage

1
2
flowSOM.MC(fcsFrame, excludeClusterParameters, xdim = 10, ydim = 10,
  k = 40, seed = NULL)

Arguments

fcsFrame

A flow frame.

excludeClusterParameters

A vector specifying the name of markers not to be used for clustering.

xdim

An integer, defines the width of SOM

ydim

An integer, defines the height of SOM

k

An integer, defines the number of clusters to be identified by flowSOM.

seed

Set seed for reproducible results.

Value

A list of clusters. Each cluster contains the ID of all cells that belong to the cluster.

Examples

1
2
3
4
5
6
7
8
9
# Find fcs files
files=system.file("extdata",
                  "SDY420/ResultFiles/CyTOF_result",package="MetaCyto")
files=list.files(files,pattern="fcs$",full.names=TRUE)
# Preprocess
fcs = preprocessing(fcsFiles=files,assay ="CyTOF",b=1/8)
# cluster using flowSOM.MC
cluster_list=flowSOM.MC(fcsFrame=fcs,
                        excludeClusterParameters=c("Time","Cell_length"))

hzc363/MetaCyto documentation built on July 27, 2020, 2:46 a.m.