R/term_similarities.R
overlap_coefficient.Rd
Compute overlap coefficient between two sets.
overlap_coefficient(x, y)
First set.
Second set.
Overlap coefficient between set x and y.
Other pathway similarity methods: jaccard()
jaccard()
overlap_coefficient(c(1, 2, 3), c(2, 3, 4)) #> [1] 0.6666667