Hello, I have the similar task. I have two tables and I need to get the third table containing data from both of them with extra column with information of what data from which table:
table1 chr pos ref alt chr1 5 A G chr1 8 T C chr2 2 C T table2 chr pos ref alt chr1 5 A G chr1 7 T C chr1 8 T A resulted table chr pos ref alt info chr1 5 A G 1, 4 chr1 7 T C 4 chr1 8 T C 1 chr1 8 T A 4 I need all 4 columns (chr, pos, ref and alt) to be compared. I didn't find this function in Bioconductor. I am a beginner at R and would appreciate any help. Thanks, Tamara -- View this message in context: http://r.789695.n4.nabble.com/comparing-two-tables-tp3936306p4668272.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.