powered by
Compute statistical significance of Jaccard/Tanimoto similarity coefficients.
jaccard.test.exact(x, y, px = NULL, py = NULL, verbose = TRUE)
jaccard.test.exact returns a list consisting of
jaccard.test.exact
centered Jaccard/Tanimoto similarity coefficient
p-value
expectation
a binary vector (e.g., fingerprint)
probability of successes in x (optional)
x
probability of successes in y (optional)
y
whether to print progress messages
set.seed(1234) x = rbinom(100,1,.5) y = rbinom(100,1,.5) jaccard.test.exact(x,y)
Run the code above in your browser using DataLab