Question: Match multiple columns to find common elements
0
gravatar for prakashpandey1111
12 months ago by
prakashpandey11110 wrote:

How to find common elements from multiple columns. say i have 20 columns(A,B,C...) & each column consists of number of elements. What i need is to find out common elements of column A in the rest of the remaining 19 columns & vice versa for other columns B,C..... & frequency

R • 522 views
ADD COMMENTlink modified 12 months ago by genomax69k • written 12 months ago by prakashpandey11110

Could you please provide some input in the form of a table and the R code on what you have tried so far?

ADD REPLYlink written 12 months ago by Gjain5.3k

I'm struggling to import table here. I used %in% but it compares 2 column at a time. I want to compare all of them simultaneously in single run

ADD REPLYlink written 12 months ago by prakashpandey11110
1

Run this in R: ?merge

ADD REPLYlink written 12 months ago by RamRS22k

You need to post more complete code snippets than just a line to get useful answers.

ADD REPLYlink written 12 months ago by genomax69k

No need to use all caps. You tagged this "R" meaning you are looking for R based code?

ADD REPLYlink written 12 months ago by genomax69k
Please log in to add an answer.

Help
Access

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