Description Usage Arguments Value Examples
Perform cluster assignment using hierarchical clustering and static or dynamic branch cutting. If 'subset' is specified the clsutering is performed on the subset of the data, and the rest of the rows are assigned based on the distances to the centroids of computed clusters.
1 2 3 4 5 6 7 8 |
X |
a data matrix or data.frame where rows are time series. |
dist |
the distance metric for the dissimilarity used for clustering. |
dynamic |
whether dynamic branch cutting should be done for cluster assignment. |
hclust_params |
parameters for |
static_cut_params |
parameters for |
dynamic_cut_params |
parameters for
|
a list with the hclust
object, as well as clust_map
and clust_centroids
data.frames.
1 2 3 4 5 6 | data("endoderm_small")
endoderm_small <- normalizeData(endoderm_small)
X <- SummarizedExperiment::assays(endoderm_small)$norm
clust_res <- clusterData(X)
head(clust_res$clust_centroids)
head(clust_res$clust_map)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.