kmers_of | R Documentation |
Return the k-mers (substrings of size k
) of the string x
, or
return the string x
itself if it is shorter than k.
kmers_of(x, k) vkmers_of(xs, k)
x |
a character string |
k |
the size of the substrings, an integer |
xs |
a character vector |
kmers_of: a character vector of the k-mers of x
vkmers_of: a list of character vectors of the k-mers of xs
kmers_of
: Return the k-mers of the string x
.
vkmers_of
: Return the k-mers of the strings xs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.