DESeq2 design after combatseq batch correction
1
0
Entering edit mode
Tyroone • 0
@519be2ea
Last seen 10 months ago
Germany

Dear fellow DEseq2 people,

I have a question concerning the usage of DEseq after batch correction.

I am looking at different samples from different timepoints and as we collected two samples at a different time in a different lab, I wanted to correct for batch effect. However I am not sure for the design. Should we still include the batches as part of the design even when we do combatseq before? Or should a better model just be design= ~timepoint ?

#the batch effect is on day_4 and day5_4
batches <- c(rep(1,3),2,rep(1,3),2,rep(1,6))

#we have 4 different groups we want to study
groups <- c(rep(1,4),rep(2,4),rep(3,3),rep(4,3))

corrected_data <- ComBat_seq(counts = countmatrix, batch = batches, group = groups)

dds <- DESeqDataSetFromMatrix(countData = corrected_data,
                                         colData = coldata_batch, 
                                         design = ~ batches + timepoint)

Also afterwards for calling DE genes:

dds1 <- DESeq(dds, test = "LRT",reduced = ~ batches)

Should the batch effect be part of the reduced model when using the LRT or should I test against ~ 1

Thanks in advance for any helpful comments!

Johannes

DESeq2 BatchEffect • 1.4k views
ADD COMMENT
2
Entering edit mode
ATpoint ★ 4.0k
@atpoint-13662
Last seen 2 hours ago
Germany

Either use raw counts with batch in design as in the vignette or the combatseq 'adjusted' raw counts without batch in the design as batch is already regressed in these. A combination makes no sense.

ADD COMMENT

Login before adding your answer.

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