michbur / biogram

N-Gram Analysis of Biological Sequences
10 stars 1 forks source link

merging in calc_ed #2

Closed michbur closed 8 years ago

michbur commented 8 years ago

calc_ed gives too large distances, when the merge inflates number of moves between groups. See

l2 <- list('1' = c("a", "b", "c"), '2' = c("d", "e", "f"))

l3 <- list('1' = c("a", "b"), '2' = c("d", "e"), '3' = "c", '4' = "f")

calc_ed(l2, l3)

Should be 2, is 3.

michbur commented 8 years ago

it's fixed with the new merging strategy