R/group_sim.R
temp__GroupSim_SimUI.Rd
GroupSim_SimUI
GroupSim_SimUI(dag, group1, group2, verbose = simona_opt$verbose)
It is only based on the number of terms. A is the set of all ancestors of group1 terms and B is the set of all ancestors of group2 terms.
A
B
group_sim = length(intersect(A, B))/length(union(A, B))