ClipLast | R Documentation |
Clips out string after the last separator. eg B6-13W1-BM-H3K4me3-1_269 -> B6-13W1-BM-H3K4me3
ClipLast(x, jsep = "-", jsep.out = NULL)
x |
string containing a separator and text you want you clip out |
jsep |
separator, such as dash or underscore that matches in the text. If matches multiple times, will take the last match |
jsep.out |
Output separator, important if clipping "." you want to input "\." to escape the special character |
string with characters after separator clipped out
ClipLast("B6-13W1-BM-H3K4me3-1_269", jsep = "_", jsep.out = "_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.