rna seq - deseq2
0
0
Entering edit mode
7.1 years ago
dimitrischat ▴ 210

Hello all again, i was using cuffdiff (the last step) thus far to do rna-seq analysis but as i ve read and been told cuffdiff is outdated and now i have been using deseq2 ( i got no idea of R but with the help of this link : https://dwheelerau.com/2014/02/17/how-to-use-deseq2-to-analyse-rnaseq-data/ i was able to achieve something ). Results from cuffdiff also had basemeanA basemeanB ( two conditions or two samples ) but deseq2 just gives 1. Can someone tell me the code in R to add so i can get the basemean for each sample/condition ?

RNA-Seq • 1.4k views
ADD COMMENT
2
Entering edit mode

Is there a reason you want that? You already have the overall base mean, having that per-group isn't then informative.

ADD REPLY
1
Entering edit mode

To get it in R, you don't have to do much more than mean(x) where x is the vector containing the column that you want to get the average of.

However, I side with @DevonRyan. Why would you want that?

ADD REPLY

Login before adding your answer.

Traffic: 2848 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6