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