Object of class alignment representing the alignment result.
This object can be utilized with the plot.alignment function to visualize
the alignment matrix and the print.alignment function to display alignments
in the console.
Arguments
seq1
First sequence to align.
seq2
Second sequence to align.
d
Gap penalty, should be negative.
mismatch
Mismatch penalty, should be negative.
match
Match score, should be positive.
method
Name of alignment algorithm. Currently only supports "needleman".
References
For more details on the Needleman-Wunsch algorithm, see the wikipedia page.