Hi all,
This seemed like such an easy task, yet I am boggled.
I have:
28 files: each named n.txt , where n is a type of tissue (e.g. cortex.txt, heart.txt)
Each file contains 2 columns and the column headers are gene name (column 1) and log2rpkm (column 2)
Each file contains around 30-40k rows
I need:
To merge the files into one file with 29 columns
Headers: genename, tissue1, tissue2, tissue3, etc.... to tissue28
So that each row contains one gene and its expression value in the 28 tissues.
With that I can convert it to a matrix in R and quantile normalise it for tissue specificity calculations
Thanks in advance for your help,
Kenneth