Hi Corentin,
Thanks for your response. I had followed the trinity instructions and scripts to perform differential expression analysis (using the gene counts matrix). The trinity scripts also provided a mean to automatically perform several analysis, including a heatmap where the TMM matrix of differential expressed genes is represented. Trinity scripts also provide a TPM matrix; and a FPKM matrix can be easily obtained from the RSEM output. However, I'd like to draw additional heatmaps for specific gene sets.
Trinity scripts help to draw a heatmap, which is based on mean-cetered-log2(TMM+1) values. I thought using this metric because i do comparisons among samples in my experiment design. However, in many papers they employ the FPKM values instead, others use CPM (count per millions), and so on, even when they compare among samples (as my case). Additionally, in some papers they use z-scores instead of log2 transformation.
By comparing heatmaps drawed with different metrics (TMM, TPM, or FPKM) and transformations (log2 or z-core) I got different heatmap coloring patterns and clusters. So my doubt still remains regarding if is it better to use (or more accepted by scientific community) any particular type of metric and transformation? or is one's choice which metric to present? just for the specific case of drawing and clustering gene sets in a heatmap.
Thanks again.
Samuel
I think VST counts from DESeq2 might be a good choice (seq depth+composition bias correction) for heatmaps and MDS. But I think VST is not controlling for gene length. I am not sure if it is possible to get length normalised VST.