Calculate the Tanimoto coefficient/index (also known as the Jaccard
index). A value of 0
indicates no similarity and a value of 1
indicates
perfect similarity.
Details
Either two TRUE
/FALSE
vectors or two integer
vectors can be
provided. The TRUE
/FALSE
vectors must be the same lengths while
the integer vectors only have to indicate indices of interest in each
vector; see examples.
The Tanimoto coefficient is an indication of how similar two samples are to each other based on number of bits overlapping (in common) in relationship to the number of unique bits present in both samples.
Author
Emilio Xavier Esposito emilio.esposito@gmail.com (https://github.com/emilioxavier)