I am having very hard time merging two data frames into one.

I have two sets of data:
1) data frame of significant genes called, "stat.result" and probeID  
as an identifier
2) data frame of my own annotation file called, "annotated" and  
probeID as an identifier

when I run the following:
 >all<-merge(stat.result, annotated, by.x="probeID", by.y="probeID",  
all.x = TRUE)
 >write.table(all, file = annotated_result.txt, sep = "\t", row.names  
= F, col.names = T)

I get a text file called, "annotated_result.txt" AND when I open the  
file, some, but not all my probes are annotated and some are labeled  
"NA" although there's a matching ID in my own annotation file.

Can someone please help me to fix this problem?
Thank you!
Jay




________________________________________________________
ETH Zurich
Jay W. Shin
Institute of Pharmaceutical Sciences
HCI H394
Wolfgang-Paulistrasse 10
8093 Zurich, Switzerland

jay.shin@pharma.ethz.ch
www.pharma.ethz.ch

++41 44 633 73 68 phone
++41 44 633 13 64 fax



	[[alternative HTML version deleted]]

