View source: R/combine_enrichments.R
jaccard_coefficient | R Documentation |
calculates similarity of two groups of objects using "jaccard" coefficient, defined as:
jaccard_coefficient(n1, n2)
n1 |
group 1 |
n2 |
group 2 |
length(intersect(n1, n2)) / min(c(length(n1), length(n2)))
double
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.