Entering edit mode
                    8.0 years ago
        lessismore
        
    
        ★
    
    1.4k
    Hello everybody,
really simple question i think.
text1 5 r1
text2 4 r1
text3 6 r1
text1 6 r2
text2 44 r2
text3 5 r2
i would like to have this
          r1 r2
text1     5  6
text2     4  44
text3     6  5
thanks in advance
datamash output:
input:
May be this is not a right place to ask this question. (You can check datamash utility)
what is the logic ? how is it related to bioinformatics ? put the real data.
Sorry i simplified the problem. Text are gene ID and numbers are expression values. The idea is to generate a matrix for plotting the data. "r" stands for replicate.
Real data are always better as some special cases must be handled depending on your expression values and ID. ;)
edit: Do you always have r1 lines, and then r2 lines and so on? Or it can be unordered?