powered by
Separates locus tags mentioned in full text and expands ranges like YPO1970-74 into new rows
separate_tags(txt, pattern, column = "text")
a tibble with locus tag, matching text and rows.
a table
regular expression to match locus tags like YPO[0-9-]+ or the locus tag prefix like YPO.
column name to search, default "text"
Chris Stubben
x <- data.frame(row = 1, text = "some genes like YPO1002 and YPO1970-74") separate_tags(x, "YPO")
Run the code above in your browser using DataLab