cut_string | R Documentation |
Cuts character string into segments of given size.
cut_string(string, size)
string |
character string; vector of length 1 |
size |
integral; vector of length of segments |
This function works with one string only.
Segments are cut from start to end of a string.
size
might be a vector of any length, all possible variants will be cut.
Data frame with segment size, start and end point, segment string.
Elena N. Filatova
cut_string (string = "aaatttttttccgc", size = 12:14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.