Sim_Jaccard
Sim_Jaccard(dag, terms, anno_universe = NULL, verbose = simona_opt$verbose)
Denote two sets A
and B
as the items annotated to term a
and b
. The similarity value is the Jaccard coeffcient
of the two sets, defined as length(intersect(A, B))/length(union(A, B))
.
The universe or the background can be set via parameter anno_universe
:
term_sim(dag, terms, method = "Sim_Jaccard",
control = list(anno_universe = ...))