I have 7 samples (call them A,B,C,D,E,F,G). I want to compare all of the samples against sample A.
When I run cuffdiff for A against B, A against C .... and A against G, the FPKM for gene X for sample A in the AvB comparison will be different to the FPKM value for gene X for sample A in the AvC comparison etc.
Has anyone else noticed this in their own analyses? Should it be concerning?
It happens because Cufflinks/Cuffdiff uses a statistical model where it considers all the data you supply. Since you provide differen input data the results are different. Use the contrast function as suggested by @Satya below.
Does this happen if you provide all comparisons together in the form of a contrast file with single cuffdiff command or when each comparison is tried with a separate cuffdiff command?
It happens when I do separate commands. I'm not sure how to do those kind of comparisons in one command. Would you be able to show me the general command for that kind of comparison, or point me in the direction of any help? Thanks