In Diffbind package, I want to block multiple factors, e.g. Tissue, condition and factor. In the Vignette, there's example for blocking only one category, not all 2 or 3 together. How can it be done? Thank you very much in advance!
Also, I tried to block using multiple factor like this:
`
"block=c(DBA_CONDITION,DBA_TISSUE, DBA_FACTOR)"
Is it the correct way?
- I am seeing this warning when I tried the 2nd way of blocking:
Warning messages: A blocking value applies to all samples in both groups
Can someone please explain what to do for this warning? As a matter of fact, after this, blocking doesn't work, when the warning shows up.
Dear Rory, Thank you for your reply! I understand now. However, I am wondering, is it similar to the linear modelling concept applied in to DESeq2/EdgeR or other kinds of tools?
Also, if you could kindly let me know whether DiffBind can take multiple blocking factor or not. As I have almost 4-5 blocking factors, I am still not sure whether DIffBind can have multiple blocking factors. I couldn't find documentation regarding it.
Thanks a lot for taking your time help us!
Dear Rory, Thank you for your reply! I understand now. However, I am wondering, is it similar to the linear modelling concept applied in to DESeq2/EdgeR or other kinds of tools?
Also, if you could kindly let me know whether DiffBind can take multiple blocking factor or not. As I have almost 4-5 blocking factors, I am still not sure whether DIffBind can have multiple blocking factors. I couldn't find documentation regarding it.
Thanks a lot for taking your time help us!
Internally, it is using a GLM that is basically