Export post-regressed counts with DESeq2
1
0
Entering edit mode
pchiang5 • 0
@pchiang5-9743
Last seen 8.8 years ago

Hi folks,

Currently I am able to extract a table of counts normalized by size factors:
normalized_counts = counts(dds, normalized=TRUE)

However, these counts are still before fitting in the analysis.

Is it possible to obtain the post-fitting counts from DESeq2 analysis? 

Thanks

 

 

 

deseq2 • 1.2k views
ADD COMMENT
2
Entering edit mode
@mikelove
Last seen 11 hours ago
United States

DESeq2 models the raw counts, using the size factors on the right hand side of the generalized linear model. So there are no post-fitting counts, as opposed to pre-fitting counts.

ADD COMMENT
0
Entering edit mode

If you want to visualize the expression across samples, and perhaps remove fixed effects associated with batches, you could use the VST or rlog transformation (see vignette), then apply limma's removeBatchEffect() to the transformed counts (accessible via assay(object) following a transformation).

ADD REPLY
0
Entering edit mode

It worked!  Thank you Michael.

ADD REPLY

Login before adding your answer.

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