Description Usage Arguments Details Value Examples
Count k-mers for string sequences (the size of k-mer should be larger than one)
| 1 | count_kmers_str(s, d, alphabet, pos)
 | 
| s | a  | 
| d | an  | 
| alphabet | a  | 
| pos | a  | 
K-mers that contain elements from alphabet but do not exist in the input sequence are also generated.
a named vector with counts of k-mers
| 1 2 3 4 5 | count_kmers_str(
c("a", "b", "c", "d", "x", "y", "z", "z", "a", "a"),
d=c(0,0),
c("a", "b", "c", "z"),
pos=FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.