ID Mapping code
1
0
Entering edit mode
8.5 years ago

Hi, this is Aisha, i have problem in my research. i want to write a code in R language , which will take two interactions files of protein ids and will give me a third file of interaction data. the first file will contain two column of interaction data. the second file will have all the data of first file in one column and second column with gene or protein numbers. by combining these two files using R code, a third file must be generated . which map gene or protein numbers instead of protein ids. i need R code for it, can anybody help me out of this?

R • 1.5k views
ADD COMMENT
0
Entering edit mode

There are two options for you, the first one is to use merge, the second is to use %in% I suggest you to first try writing the code yourself

ADD REPLY
0
Entering edit mode

Thank you Andrew....

ADD REPLY
0
Entering edit mode
8.5 years ago

Check out the left_join function in dplyr

Example

ADD COMMENT

Login before adding your answer.

Traffic: 1476 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6