propHomotypic | R Documentation |
Computes the proportion of pairs expected to be made of elements from the same cluster.
propHomotypic(clusters)
clusters |
A vector of cluster labels |
A numeric value between 0 and 1.
clusters <- sample(LETTERS[1:5], 100, replace=TRUE)
propHomotypic(clusters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.