How to calculate read frequency from read counts for each gene in all samples all at once
I have a biological data with read counts in many samples. It looks like this
snapshot of the format of data in excel-

I want to calculate the frequency of each gene in each sample. Mathematically obviouslly, I want each row to be divided by it's column sum but I am confused about how to do it all at once? I want a new sheet with same format but with frequency of each gene rather than count. Kindly help. Sorry for deviating from bioinformatics here .
• 165 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Longer genes will have more counts, so they will have a higher proportion of mapped reads. A better measure is transcripts per million (TPM), which is essentially what you want but normalized by gene length.
I have no idea how your data is formatted, but this gist is one example of how to get from counts to TPM
I'm not sure what exactly you want, but I assume you don't know how to fix a field using '$' sign. If so, check this cite. https://www.excel-easy.com/functions/cell-references.html
But excel is not efficient to handle a larger dataset. Use R or something similar. They are much better!