Description Usage Arguments Value Examples
View source: R/computeUnsupervisedMetrics.R
A function that computes Dunn Index and and mean Silhouette score for a clustering output
1 | computeUnsupervisedMetrics(sce, clusters)
|
sce |
A SingleCellExperiment object with raw counts in the counts slot. |
clusters |
Factor representing clustering results for the SingleCellExperiment object. |
A list with the Dunn Index and mean Silhouette score as elements
1 2 3 4 5 6 7 8 | # Example:
## Not run:
data(embryo)
data(embryoClusts)
# Compute metrics for the first clustering output on the embryo dataset
metrics <- computeUnsupervisedMetrics(embryo, embryoClusts[[1]])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.