How to get fitted per sample means and dispersion from DESeq2?
1
0
Entering edit mode
6.0 years ago
kjkjindal • 0

Hi,

DESeq uses the following model for differential expression analysis:

K_ij ~ NB(mu_ij, alpha_i)

mu_ij = s_j q_ij

log2(q_ij) = x_j. beta_i

Is there a way to access the specific 'mu_ij' and 'alpha_i' values?

I have been looking around and found assays(dds)[['mu']] giving something like mu_ij but am not sure if those are indeed the values that I am looking for.

Thanks!

RNA-Seq R next-gen sequencing • 968 views
ADD COMMENT
2
Entering edit mode
5.9 years ago

Take a look at the Access to all calculated values of the tutorial Analyzing RNA-seq data with DESeq2.

Dispersion is calculated on a gene-wise basis and the final modelled dispersion can be obtained with mcols(dds)$dispersion or dispersions(dds). The estimated gene dispersions that go into the Bayesian model as priors can be obtained with mcols(dds)$dispGeneEst

For the mean, it states:

Screen_Shot_2018_05_16_at_16_00_51

ADD COMMENT
0
Entering edit mode

Hi, that worked great. Thanks a lot Kevin!

ADD REPLY
0
Entering edit mode

You're welcome - no problem.

ADD REPLY

Login before adding your answer.

Traffic: 3230 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