Hi wondering how I can use the following DESeq2 logic within the framework of DiffBind for calling differential peaks and looking at multiple interactions:
to look at interaction--
dds<-DESeqDataSetFromMatrix(countData = countData,
colData = colData,
design = ~ sex + treatment + sex:treatment)
dds$sex<-relevel(dds$sex, ref="female")
dds$age<-relevel(dds$treatment, ref="CO")
dds <- DESeq(dds)
resultsNames(dds)
results(dds, name="sexmale.treatment")

Thanks Rory! Would it be fair to use the dba.count output matrix and feed that into DESeq2 via DEseqDataSetFromMatrix?
So as to get around having to manually create a read depth adjusted matrix for all of your peaks?
Thanks again.