Description Usage Arguments Value Author(s) Examples
This runs over the input calculating the integer value for every kmer that begins at that location. It returns the resutls as a vector.
1 | kmer_counter(dna, alph, k)
|
dna |
The DNA sequence, as a character |
alph |
The alphabet we are using. A dataframe created using build_alphabet() |
k |
The length of kmers we are assessing. Used as a check. |
An integer vector corresponding to the kmers at each starting point in the DNA
Tom Mayo t.mayo@ed.ac.uk
1 2 | alph <- kmermods::build_alphabet()
kmer_counter('GATCATCAT', alph, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.