Wrong formula for Jaccard index? #48
Labels
status:Done ✅
The development is done
tag:Methods
Analysis and visualisation methods
type:Critical
Critical bug or issue that needs to be addressed immediately
🐛 Bug
When using the
repOverlap
function using the Jaccard index, I think it calculates wrong numbers. When looking at the source code inoverlap.R
, I saw that the Jaccard index is calculated as follows:However, doesn't the intersection need to be subtracted:
intersection/(nrow(.x) + nrow(.y) - intersection)
?
I'm using Immunarch v.
0.5.5
.Thank you.
The text was updated successfully, but these errors were encountered: