WLJS LogoWLJS Notebook

NeedlemanWunschSimilarity

NeedlemanWunschSimilarity[u, v] gives a number representing the Needleman–Wunsch similarity between strings, vectors, or biomolecular sequences u and v.

Examples

NeedlemanWunschSimilarity["ACGT", "ACTT"]
NeedlemanWunschSimilarity[{1, 2, 3}, {1, 3, 3}]

Please visit the official Wolfram Language Reference for more details.

On this page