checkDivergence function

Compare divergence along a tree in terms of mutations (sum of branches) for each tip and reconstructed internal node to its Hamming distance from the germline. Divergence should never be less than Hamming distance. A threshold of -1 is used to represent 1 full mutation difference. The function will throw a warning if any trees cross this threshold

  • Maintainer: Kenneth Hoehn
  • License: AGPL-3
  • Last published: 2025-10-14