Description Usage Arguments Value Author(s) References See Also
Cluster cells using the spearman rank correlation as a similarity metric and (1-correlation)/2 as a distance metric.
1 2 | hclustCells(data, clust.method = "ward.D2", leafreorder = "column",
cor.method = "spearman")
|
data |
Dataframe or matrix containing the counts (genes x cells). The algorithm will cluster on these. |
clust.method |
Clustering method to use with hclust. Default: WarD2.
For more options, see |
leafreorder |
Specify whether you want to obtain an hclust object with reordered gene ("row") or cell leaves ("column"). If you want to obtain both as a list, specify "both". Default: column (it will reorder the cells). |
cor.method |
correlation method to calculate the distance matrix. |
hclust object
Blanca Pijuan Sala.
hclust
, order.optimal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.