View source: R/sc_clustering_methods.R
sc_clustering.HAC | R Documentation |
Perform Single Cell data clustering using Hierarchical Agglomerative clustering (HAC)
sc_clustering.HAC( exprs, n.pcs = 10, labels = NULL, method = "complete", type = c("count", "log"), scale.factor = 10000, verbose = FALSE )
exprs |
n.genes-by-n.cells expression matrix |
n.pcs |
integer, number of principal components to use for calculating similarity and performn HAC |
labels |
vector of string/factor, if provided, HAC is performed starting from clusters |
method |
string, similarity method, one of 'ward.D', 'ward.D2', 'single', 'complete', 'average' (= UPGMA), 'mcquitty' (= WPGMA), 'median' (= WPGMC) or 'centroid' (= UPGMC). |
type |
string, type of the expression matrix, choices are 'count' and 'log', and default by 'counts |
scale.factor |
scalar sets the scale factor for cell-level normalization |
verbose |
boolean, whether to print messages |
an hclust object containing the clustering results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.