Compute overlap coefficient between two sets.

overlap_coefficient(x, y)

Arguments

x

First set.

y

Second set.

Value

Overlap coefficient between set x and y.

See also

Other pathway similarity methods: jaccard()

Examples

overlap_coefficient(c(1, 2, 3), c(2, 3, 4))
#> [1] 0.6666667