Description Usage Arguments Value References Examples
This function works based on Needleman-Wunsch algorithm which computes similarity score of two sequences.
1 |
seq1 |
(sequence1) is a string. |
seq2 |
(sequence2) is a string. |
gap |
The penalty for gaps in sequence alignment. Usually, it is a negative value. |
mismatch |
The penalty for the mismatch in the sequence alignment. Usually, it is a negative value. |
match |
A score for the match in sequence alignment. Usually, it is a positive value. |
The function returns a number which indicates the similarity between sequence1 and sequence2.
https://gist.github.com/juliuskittler/ed53696ac1e590b413aac2dddf0457f6
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.