# RNASeq: Normalization, stabilization, gene length and rlog

I was thinking about the best method for normalization, which takes gene length into account (in order to compare genes)...

Do you think I can do that? : - taking raw counts and dividing each gene by its length - using the function rlog (DESeq2) on these counts divided by gene length (I would modify the rlog function to allow it to be used on decimal data).

I was wondering if it would be ok to do that.

Thank you very much for your help

• Hi, you will need to supply the background to your question, i.e. what system, what genes, whats the question you are addressing? You appear to be performing some of ontology. – Michael G. Nov 21 '19 at 2:31
• It would be on human data (cancer) and for visualization (heatmap, etc.) and gene ontology (gsea, etc.) – Nin00 Nov 21 '19 at 9:46

I am not sure what you mean by "decimal data", however, if you really want to use "gene length" information for normalization, take a look at EDASeq. Unlike DESeq or EdgeR, its normalization step takes gene length into account to produce "normalized counts", which you can feed into DESeq or EdgeR according to their manual.