Description Usage Arguments Value Examples
Align two sequences using local (Smith-Waterman) or global (Needleman-Wunsch) sequence alignment.
1 2 3 4 5 6 7 8 |
x1 |
pattern sequence: a character vector, scalar or AAString. |
x2 |
subject sequence: a character vector, scalar or AAString. |
score.matrix |
substitution matrix. |
gap.score |
gap score. |
type |
type of alignment: global or local (default: local). |
debug |
logical; whether to return debugging data. |
AlignResult object.
1 2 | library(motiftools)
align("ALVDE", "AVRES", score.matrix = "BLOSUM62")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.