View source: R/clustering.flow.R
clustering.flow | R Documentation |
This function offers multiple automatic clustering methods for a FCS.SCE
object. Those methods available are:
SOM: Self-Organizing Map (SOM) based on FlowSOM
package.
Phenograph: An implementation of PhenoGraph algorithm (here for more information).
Seurat: Clustering method based on Seurat's single-cell analysis.
PARC: R implementation for Phenotyping by Accelerated Refined Community-partitioning (PARC) method, see Python module.
clustering.flow(
fcs.SCE,
assay.i = "normalized",
method,
scale = FALSE,
markers.to.use = "all",
num.k,
seurat.res = 0.4,
seurat.dims = 1:10
)
fcs.SCE |
A |
assay.i |
Name of matrix stored in the |
method |
What method should be used for clustering purposes. Available ones are "SOM", "Phenograph", "Seurat" and "PARC". |
scale |
Should be data be scale before SOM clustering? (only available for this method). Default = |
markers.to.use |
Markers used for considering within the clustering calculation. Default = |
num.k |
Number of clusters to calculate for methods "SOM" and "Phenograph". |
seurat.res |
Seurat's resolution to calculate clustering (it indicates the ‘granularity’ of the downstream clustering, with increased values leading to a greater number of clusters). Default = |
seurat.dims |
Number of dimensions to calculated with Seurat's method. Default = |
## Not run:
fcs <- clustering.flow(fcs, method = "som", num.k = 20)
fcs <- clustering.flow(fcs, method = "phenograph", num.k = 40)
fcs <- clustering.flow(fcs, method = "Seurat", seurat.res = 0.5)
fcs <- clustering.flow(fcs, method = "parc", assay.i = "transformed")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.