Separating multiple delimiters in dplyr #1298
-
I feel like I have asked before, but could not find.. In R I want to separate SPIDs in Blast output How do I get V2 into three columns using dplyr / tidyverse? |
Beta Was this translation helpful? Give feedback.
Answered by
aspencoyle
Sep 22, 2021
Replies: 1 comment 1 reply
-
Ooh, I got this - ran into this exact problem recently! Something along these lines should work!
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sr320
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ooh, I got this - ran into this exact problem recently! Something along these lines should work!
blast_sep <- separate(data = blast, col = V2, into = c("sp", "Accession_ID", "Gene"), sep = "\\|")