R/combine_enrichments.R
jaccard_coefficient.Rd
calculates similarity of two groups of objects using "jaccard" coefficient, defined as:
jaccard_coefficient(n1, n2)
group 1
group 2
double
length(intersect(n1, n2)) / min(c(length(n1), length(n2)))