similarity_matrix | R Documentation |
This function computes a similarity matrix between biclusters using different similarity metrics.
similarity_matrix( bics, MARGIN = "both", metric = 1L, prob_scale = FALSE, mat_row = 0L, mat_col = 0L, prl = FALSE )
bics |
A list of bicluster objects. |
MARGIN |
Choose if the distance is computed over |
metric |
Integer indicating which metric is used. 1: Bray-Curtis similarity (default), 2: Jaccard index, 3: overlap coefficient, 4: Fowlkes–Mallows index. |
prob_scale |
Scale similarity by the probability of an
overlap equal of higher to the observed one. The scaling is
done by multiplying the similarity
with |
mat_row |
If |
mat_col |
If |
prl |
Compute the similarity matrix using multiple
cores (works only for |
A numeric matrix of the similarities 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))) similarity_matrix(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.