R/RcppExports.R
two_seq_score.RdCalculate scores for two aligned sequences given a substitution matrix. Optionaly weight for each position in the alignment.
two_seq_score(x, y, mtx, weight)
| x | Sequence 1 as a character vector. |
|---|---|
| y | Sequence 2 as a character vector. Same length as sequence 1. |
| mtx | Substitution matrix as a numeric matrix. |
| weight | A numeric vector specifying weights for each position in sequences 1 and 2. Same length as sequences 1 and 2. |
A single weighted score.