When you run dba.contrast and dba.analyze in DiffBind, it divides the samples into all the possible groups and compares the various groups. If you have paired samples (for example, before and after treatment), is there a way to indicate that so that the analysis takes that into account (rather than simply doing all "before" versus all "after")?
I looked at the block parameter. That seems appropriate, but it's fairly flexible. I wasn't sure if there is some other option that specifically assumes paired analysis.
The block parameter is set up to handle paired samples. So for example if the CONDITION is before or after, and each pair of samples share the same REPLICATE or TISSUE id, you can try:
I looked at the block parameter. That seems appropriate, but it's fairly flexible. I wasn't sure if there is some other option that specifically assumes paired analysis.
To the best of my knowledge,
block
is the only parameter for this purpose. The EdgeR user manual gives a bit more detail about how to use it.