Sim_Overlap
Sim_Overlap(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 overlap coeffcient
of the two sets, defined as length(intersect(A, B))/min(length(A), length(B))
.
The universe or the background can be set via parameter anno_universe
:
term_sim(dag, terms, method = "Sim_Overlap",
control = list(anno_universe = ...))