====== Expression matrix file format ======
Expression matrix file is a Tab-separated values file.
A tab-separated values (TSV) file is a simple text format for storing data in a tabular structure (e.g. database or spreadsheet data). Each record in the table is one line of the text file. Each field value of a record is separated from the next by a tab stop character. [[https://en.wikipedia.org/wiki/Tab-separated_values|More about TSV...]]
This file has two columns if there is only one sample, and more than two columns if there are many samples.
The first line is a header and must contain the sample names.
The first column corresponds to genes, probes or proteins, and the following IDs are accepted:
- Ensembl gene
- HGNC symbol
- Entrez id
- Affy HG U133A probeset
- Affy HG U133B probeset
- Affy HG U133-PLUS-2 probeset
- Affy HTA 2.0
The next columns correspond to gene expression values in numeric format from each sample.
Here is an example of a file with only one example:
id sampleName
Gene1 0.3
Gene2 1
Gene3 0.73
And here is another example with more than one sample:
id sample1 sample2 sample3
Gene1 0.31 0.6 0.24
Gene2 1 0.81 0.91
Gene3 0.7 0.9 0.3
Gene4 0.23 0.45 0.33
**Note**: If probe expression values are provided, these are recodified to gene expression values, obtained as the average value of all the probes mapping in the gene.