Entering edit mode
2.9 years ago
shrgur
•
0
Hey everyone,
I have two files;
I want to create a new file with two columns ie. reaction ID and its corresponding Gene ID.
Is there a command similar to grep in R? if so, how can I use it in this scenario?
I would really appreciate any input/suggestions regarding this. Thank you!!
Please search StackOverflow or any forum online for the
merge
ordplyr::join
functions. R does have agrep
but it won't be of much use here.You'll need to use
tidyr::separate_rows
on the second column of the first dataset, thendplyr::inner_join
on the datasets to get your results.Related StackOverflow posts: