Description Usage Arguments Value Author(s)
Returns a count of the number of mismatches between two kmers (of equal length), which are represented in integer format. For instance the two kmers AAA and ATA have one mismatch. This function bypasses the conversion to strings.
1 | mismatch_kmers(kmer_1, kmer_2, k, base = 4L)
|
kmer_1 |
An integer in base 10, representing a kmer |
kmer_2 |
An integer in base 10, representing a kmer |
k |
The length of kmers we are assessing. Used as a check. |
base |
The base of our representation, default is 4. This corresponds to the number of distinct nucleotides we are processing. |
A count of the mismatches
Tom Mayo t.mayo@ed.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.