Entering edit mode
cells <- dba(sampleSheet = samples)
cells <- dba.count(cells, summits=FALSE)
cells <- dba.normalize(cells)
cells <- dba.contrast(cells)
cells <- dba.analyze(cells)
diffbind_deseq <- dba.analyze(cells, bRetrieveAnalysis=TRUE)
diffbind_res = results(diffbind_deseq, contrast=c("Tissue", "cell1", "cell2"))
report <- dba.report(cells, th=1)
Then, when I print report, and when I print diffbind_res[order(diffbind_res$padj), ], I get different results. For example, I get a Fold of 3.97436 in report, but a log2FoldChange of -4.02610 in diffbind_res, while the p-values and FDRs match exactly. What is the reason for this discrepancy?