overlap_jaccard_index: Calculate Jaccard Index between two sets

Description Usage Arguments Value Examples

View source: R/GeneTonic-extras.R

Description

Calculate similarity coefficient with the Jaccard Index

Usage

1

Arguments

x

Character vector, corresponding to set 1

y

Character vector, corresponding to set 2

Value

A numeric value between 0 and 1

Examples

1
2
3
a <- seq(1, 21, 2)
b <- seq(1, 11, 2)
overlap_jaccard_index(a,b)

GeneTonic documentation built on Nov. 8, 2020, 5:27 p.m.