Description Usage Arguments Value Examples
Compute the HBITM similarity between two clusterings.
1 |
subject |
Vector of reference cluster assignments. |
query |
Vector of cluster assignments for comparison. |
weighted |
Use weights? Defaults to |
The (weighted) HBITM ("How blue is the matrix?") measure, a numeric vector of length 1.
1 2 3 4 5 6 7 8 9 10 11 12 | a = c(rep("A", 1000), rep("B", 100), rep("C", 10))
b = c(rep("A", 500), rep("B", 595), rep("C", 15))
HBITM(subject = a, query = b, weighted = TRUE)
HBITM(subject = a, query = b, weighted = FALSE)
data(zeisel2018)
HBITM(subject = zeisel2018$cell_metadata$class,
query = zeisel2018$cell_metadata$cluster_name,
weighted = TRUE)
HBITM(subject = zeisel2018$cell_metadata$class,
query = zeisel2018$cell_metadata$cluster_name,
weighted = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.