Question: (Closed) Script to match contents of 2 files using R
0
gravatar for Inquisitive8995
2.2 years ago by
Inquisitive8995130 wrote:

Hey All, I am new to R programming. I would like to have some help with the following query. I have two .txt files having SNP data (say file 1 & file 2 ). File 1 has 2 columns and file 2 has 3 columns. I need to use file 1's content to match with that of file 2 and return the entire row of file 2 to me of the matched objects. I believe i should be using loop function for this but i have difficulty in how to go about with it. Help would be appreciated. Thanks in advance.

snp R software error • 2.3k views
ADD COMMENTlink written 2.2 years ago by Inquisitive8995130
1

Hello Inquisitive8995!

Questions similar to yours can already be found at:

We have closed your question to allow us to keep similar content in the same thread.

If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.

Cheers!

PS: See also: https://stackoverflow.com/questions/7187372/how-can-i-inner-join-two-csv-files-in-r http://www.statmethods.net/management/merging.html

ADD REPLYlink modified 2.2 years ago • written 2.2 years ago by Michael Dondrup46k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1682 users visited in the last hour