View source: R/score_alignment.R
Score a simple alignment
1 2 3 4 5 6 7 8 | score_alignment(
seq.df,
seq1,
seq2,
sub.mat,
gap.penalty = -10,
gap.extend = -4
)
|
seq.df |
Two aligned sequences in a dataframe |
seq1 |
name of column with first sequences |
seq2 |
name of column with second sequence |
sub.mat |
substitution matrix to use. Defaults to BLOSUM62 |
gap.penalty |
penalty for gaps in the sequence |
gap.extend |
penalty for gap length, starting with the first gap. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.