getCls {DrImpute} | R Documentation |
Similarity matrix constructed using "pearson", "spearman" or "euclidean". K-means clustering is performed on first few number of principal components of similarity matrix.
getCls(X, ks = 10:15, dists = c("spearman", "pearson"),
dim.reduc.prop = 0.05)
X |
Log transformed gene expression matrix (Gene by Cell). |
ks |
Number of cell clustering groups. Default set to ks = 10:15. |
dists |
Distribution matrices to use. Default is set to c("spearman", "pearson"). "euclidean" can be added as well. |
dim.reduc.prop |
Proportion of principal components to use for K-means clustering. |
A matrix object, Each row represent different clustering results.
Il-Youp Kwak
Il-Youp Kwak, Wuming Gong, Kaoko Koyano-Nakagawa and Daniel J. Garry (2017+) DrImpute: Imputing dropout eveents in single cell RNA sequencing data
data(exdata)
exdata <- preprocessSC(exdata)
exdata <- exdata[1:3000, 1:80]
logdat <- log(exdata+1)
cls <- getCls(logdat)