stri_detect_fixed_in_collapsed | R Documentation |
Detect fixed patterns in collapsed strings
stri_detect_fixed_in_collapsed(x, patterns, sep)
x |
vector with collapsed strings |
patterns |
vector with fixed patterns (strings) |
sep |
collapse separator (string) or NULL (if uncollapsed) |
boolean vector
file <- system.file('extdata/fukuda20.proteingroups.txt', package = 'autonomics')
object <- read_maxquant_proteingroups(file)
x <- fdt(object)$uniprot
patterns <- c('A0A0R4IKT8', 'Q7T3G6')
table(stri_detect_fixed_in_collapsed(x = x, patterns = patterns, sep = ';'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.