How to normalization counts matrix by GC content and sizeFactors using DESeq2 and CQN?
1
1
Entering edit mode
984366176 ▴ 10
@984366176-13356
Last seen 7.0 years ago

Hi,

I want to combine DESeq2 and CQN to normalize the count matrix of ATAC_seq data.

I follow this step:

cqnOffset <- cqn.subset$glm.offset   
cqnNormFactors <- exp(cqnOffset)
normalizationFactors(object_cqn) <- cqnNormFactors
object_cqn <- DESeq(object_cqn,parallel=T)

 

But DESeq2 mannul describes that normalization factors, if present, will always be used in the place of
size factors.

According to the above step, sizeFactors will not be considered. How can I solve this problem?

Thanks.

deseq2 cqn • 1.4k views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 6 days ago
United States

See the man page for ?cqn under the description of the output glm.offset

(cqn corrects for size factors and the glm.offset contains size factor correction)

ADD COMMENT

Login before adding your answer.

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