Displaying 1 result from an estimated 1 matches for "rpkm2".
Did you mean:
  rpkm
  
2011 Feb 24
1
reshaping list into a contingency table
Hi all,
I have been struggling with this problem for a few days.  
I have a data table like this:
gene	     rpkm1	     diff1	     rpkm2	     diff2
gene1	23		50		13		120
gene2	111		220		827		1200
gene3	75		998		71		910
And I want to re-format it so that, for each gene, I have a 2x2 contingency
table, such as:
gene	      rpkm	       diff
gene1	23		50
gene1	13		120
gene2	111		220
gene2	827		1200
gene3	75		998
gene3	71		910
I have...