Skip to content
Prev 304712 / 398506 Next

a newbie seeking for a simple problem

As df2 has only one column and is thus effectively a variable in this case,
you don't even need to merge.

df1[df1$gene_name%in%df2$gene_name , ] 

should do.

HTH,
Daniel


wong, honkit (Stephen) wrote
--
View this message in context: http://r.789695.n4.nabble.com/a-newbie-seeking-for-a-simple-problem-tp4642029p4642031.html
Sent from the R help mailing list archive at Nabble.com.