Description Usage Arguments Value See Also Examples
View source: R/GeneTonic-extras.R
Calculate similarity coefficient between two sets, based on the overlap
1 | overlap_coefficient(x, y)
|
x |
Character vector, corresponding to set 1 |
y |
Character vector, set 2 |
A numeric value between 0 and 1
https://en.wikipedia.org/wiki/Overlap_coefficient
1 2 3 | a <- seq(1, 21, 2)
b <- seq(1, 11, 2)
overlap_coefficient(a,b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.