I have a file consisting of raw counts. For my analysis, I want to normalize the counts by fpkm. The question is, how can I calculate fpkm from raw counts?
Also, upon a little reading I found that DESeq2 could do i, but it requires the file to be in DESeq format. Could someone guide me on what the format should look like?
Thanks in advance.
Edit: Thank you for pointing it out. Values of raw counts changed! (I had mistakenly copied the rpkm values)
P.S. Below is an example of my raw counts file -
gene sample 1 sample 2 sample 3
A1BG 7589 8458 7945
A1CF 513 718 748
A2M 7648 8998 9778
Relevant link: https://bioinformatics.stackexchange.com/questions/367/how-exactly-is-effective-length-used-in-fpkm-calculated