Description Usage Arguments Examples
Apply function to both forward and reverse-complement sequences.
1 2 3 4 5 | dstr_detect_both(dstrobj, pattern, negate = FALSE)
dstr_count_both(dstrobj, pattern)
dstr_locate_both(dstrobj, pattern)
|
dstrobj |
dstr class object or character vector |
pattern |
regex pattern |
negate |
If TRUE, return non-matching elements. |
1 2 3 4 5 6 | temp <- c("aaagggcccc", "aaagggtttcccctttccc", "gggtttccc")
dstr_detect_both(temp, "aaa")
dstr_count_both(temp, "aaa")
dstr_locate_both(temp, "aaa")
dstr_locate_both(temp, "aaa") %>%
lapply(. %>% bstr_sub_all(temp, .))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.