Hi,
I have used DESeq2 to analyse some RNAseq data and am using regularized log transformed data (rlog) output from DESeq2 to plot heatmaps.
However I am struggling to understand how the rlog output relates to the actual number of reads obtained for that gene. Can anyone explain this to me? For example, if I have a regularized log value of -1 for a particular gene, does this mean that I had less than 1 read for that particular gene in my sample (if so, how can this be)?
The reason I would like to understand this is I want to set a threshold for gene expression, so I am only looking at well expressed genes in my analysis. Is this possible with regularized log transformed data? Or would it be better to use a metric like RPKM? I was under the impression that working with regularized log transformed data is more advisable than RPKM, but perhaps in this instance RPKM is more appropriate.
Many thanks in advance for your help, Amy
It's not the P-values that are on the log2 scale, it's the number of counts.
I am just giving an example by the P-value! you can replace the word "P-value" with anything! gene expression of 100 read counts will be 6.6 on log2 scale.
Hi Tarek, Thanks for your answer. So is the rlog is essentially log2(counts/library size)? If so, how can I have positive rlog values (since the number of read counts must always be less than the library size?) Amy
Hi Amy, DESeq2 performs normalization where geometric mean is calculated for each gene across all samples. The counts for a gene in each sample is then divided by this mean. The median of these ratios in a sample is the size factor for that sample.
Tarek
Hi Tarek, Okay, that helps explain it. Thanks for your help! Cheers, Amy