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