kmeans: This function performs 'kmeans' clustering of the subdatasets...

View source: R/Methods.R

kmeansR Documentation

This function performs kmeans clustering of the subdatasets corresponding to varying number of PCA loadings as contained in nDim input parameter.

Description

This function performs kmeans clustering of the subdatasets corresponding to varying number of PCA loadings as contained in nDim input parameter.

Usage

kmeans(input, k, nCores, nDim, kmNStart, kmMax)

Arguments

input

the matrix of all variable loadings.

k

centers (integer) parameter passed to kmeans function.

nCores

defines the number of cores to be used on the user's machine. If not set, 'ccImpute' will use all but one cores of your machine.

nDim

the list of containing a number of PCA loadings to use for each sub-dataset.

kmNStart

nstart parameter passed to kmeans function. Can be set manually. By default it is 1000 for up to 2000 cells and 50 for more than 2000 cells.

kmMax

iter.max parameter passed to kmeans function.

Value

a list of clustering assignments for all the sub-datasets.


khazum/ccImpute_exp documentation built on May 25, 2022, 6:15 a.m.