Hi,
I'm new to RNA-seq analysis. I'm using EdgeR to generate RPKMs.Everything works fine but the last step, there is a warning message saying that:
Warning message:
In y/gene.length.kb :
longer object length is not a multiple of shorter object length
When I checked the RPKMs generated, the values are kinda of skewed. There are high variations even after the same conditions but the raw counts look fine.
Any idea? Thanks, Hang
Thanks for your reply, guys. Do you know how to fix the problem?
Here are the scripts I used
Thanks, Hang
Looks like d contains some rows not in your text file. Where you subset length.genes[] with the %in% command, you need to also subset d with the converse. You can only get RPKM for genes where you have the length in the text file. And for that matter, be extra careful the two lists are sorted the same! Maybe make them unified in another command and dont use the %in% command inside the rpkm function.