Description Usage Arguments Value Author(s)
Returns a vector of integers, which correspond to a single number in base 4 (default) or whatever is defined in build_alphabet()
1 | kmer2base(kmer, alph, k)
|
kmer |
A character vector of nucleotides to be converted the representation |
alph |
The alphabet we are using. A dataframe created using build_alphabet() |
k |
The length of kmers we are assessing. Used as a check. |
A vector of integers, representing a number in base 4(default)
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.