View source: R/create_n_mers.R
create_n_mers | R Documentation |
Create the n-mers from a character string
create_n_mers(string, n)
string |
a character vector with one element |
n |
the length of the n-mers |
a character vector with all n-mers
use create_n_mers_tibble to create the n-mers for multiple strings
# Creates ABCD, BCDE, CDEF
create_n_mers(string = "ABCDEF", n = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.