I have a table with an unwanted repeated character in the column5 "Motif:"
xyz.00290 1565 1575 Target Motif:TART_DV-Dmon-A 743 795 10
xyz.00291 1576 1617 Target Motif:Maverick-5_Dmon 256 297 41
xyz.00292 1619 1632 Target Motif:Jockey-18_Dmon 1702 1771 13
I tried to remove it in R; gsub(df, "Motif:", "")
but it ruins the whole table by merging all the columns in one!
I also tried str_remove(df, "Motif:")
but it does the same.
how should I make them work? and why does it take soooo long for R to run and finish?! is there a faster way around it considering that my files are big (~12000 lines)
or