distance_matrix | R Documentation |
This function computes a distance matrix between biclusters using different dissimilarity metrics.
distance_matrix(bics, MARGIN = "row", metric = 1L)
bics |
A list of bicluster objects. |
MARGIN |
Choose if the distance is computed over |
metric |
Integer indicating which metric is used. 1: Bray-Curtis dissimilarity (default), 2: Jaccard distance, 3: 1-overlap coefficient 4: 1 - Fowlkes–Mallows index. |
A numeric matrix of the dissimilarities between all given biclusters.
b <- list(bicluster(row=c(1,2,3,4), column=c(1,2,3,4)), bicluster(row=c(3,4,5,6), column=c(3,4,5,6))) distance_matrix(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.