Description Usage Arguments Value Author(s) Examples
Returns the integer in base 10 that corresponds to the kmer
1 |
kmer |
A character vector of nucleotides to be converted the representation |
alph |
The alphabet we are using. A dataframe created using build_alphabet() |
base |
The base of our representation, default is 4. This corresponds to the number of distinct nucleotides we are processing. |
An integer corresponding to the kmer
Tom Mayo t.mayo@ed.ac.uk
1 2 | alph <- kmermods::build_alphabet()
kmerto10('GATC', alph, base = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.