A step of the mafft_native implementation. Called by mafft_site_score,
normalized_similarity_matrix, wsp_score.
See the file header for the source the module follows.
Examples
M <- list(`A|A` = 1, `A|C` = -1)
mafft_lookup(M, "A", "C")
#> [1] -1
