View source: R/supercell_cluster.R
supercell_cluster | R Documentation |
Cluster super-cell data
supercell_cluster(
D,
k = 5,
supercell_size = NULL,
algorithm = c("hclust", "PAM"),
method = NULL,
return.hcl = TRUE
)
D |
a dissimilarity matrix or a dist object |
k |
number of clusters |
supercell_size |
a vector with supercell size (ordered the same way as in D) |
algorithm |
which algorithm to use to compute clustering: |
method |
which method of algorithm to use:
|
return.hcl |
whether to return a result of |
a list with components
clustering - vector of clustering assignment of super-cells
algo - the algorithm used
method - method used with an algorithm
hlc - hclust result (only for "hclust"
algorithm when return.hcl
is TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.