Entering edit mode
4.4 years ago
mmh7272
▴
60
Hi i am R bignner student
I already searched some packages dplyr, plyr ...but i can not hadle this data merging Plz tell me to adviseI have 50 data txt files like that
File1.txt Chrom Position Parent1 Parent2 Sample1 1 1 A B A 1 2 A B B 1 3 A B A 1 4 A B B File2.txt Chrom Position Parent1 Parent2 Sample2 1 1 A B B 1 2 A B A 1 3 A B A So i wanna mergeing MergingFiles.txt Chrom Position Parent1 Parent2 Sample1 Sample21 1 A B A B 1 2 A B B A 1 3 A B A A 1 4 A B B Na
If you have solution plz comment thank you
use dplyr
full_join
functionThank you for ur advice i try