align() is deprecated in favour of align_edit(): the
generic name collides with Biostrings/IRanges exports in
sessions that load both. It still works and returns identical results;
new code should call align_edit().
Arguments
- pattern
Character vector; query sequences (recycled to match
text).- text
Character vector; reference sequences (recycled to match
pattern).NAentries produceNArows.- smax
Numeric; maximum edit distance searched, in
[0, 511]. Pairs whose true distance exceeds it are unresolved by design.- with_cigar
Logical; if
FALSEonly scores are computed (cheaper, no traceback) andcigarisNA.
Value
See align_edit.