I have four groups, let's call them A, B, C, and D. I want to do all six comparisons:
- A to B
- A to C
- A to D
- B to C
- B to D
- C to D
but right now using my code I can only get the first three, with A always being compared to. How do I do this? My code is below.
# Assign conditions. I have three replicates in each group except for the fourth group I'm calling CD49a which has two replicates.
(condition <- factor(c(rep("CD103", 3), rep("DP", 3), rep("DN",3), rep("CD49a",2))))
When I resultsNames the variable I'm storing my deseq() argument in, I only get things getting compared to A.
What should I do? Thanks in advance.
Thank you so much. How do you do that?
Right now I'm doing this:
but this function, when using apeglm, cannot take contrast arguments. Is there a way around this?