Description Usage Arguments Details Value Author(s) See Also Examples
Cross-correlation between sequences in an alignment to detect potentially incorrectly aligned sequences.
1 |
DNAbin |
An object of class |
refSeq |
Numeric. The sequence that should be used as a reference. Default of 1, i.e. the first sequence. The option |
lag.max |
Numeric. The maximum lag at which to calculate the correlation between sequences. Default is 10*log10(N/m)where N is the number of observations and m the number of series (see |
This function can be used to detect incorrect alignment within a set of sequences.
By default, the function uses the first sequence as the reference for each subsequent sequence. When "random"
is selected, the reference can usually be detected by having a correlation of 1.
Returns a list with the following elements:
cor |
Maximum correlation between the sequence and the reference. |
lag |
Numeric vector giving the lag at which the correlation is a maximum. |
Samuel Brown <s_d_j_brown@hotmail.com>
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.