Thanks, Kevin for helping me out. I have made some changes to the original post by replacing the screenshots and changing in the design matrix from "Time" to "Treatment".
I want to compare and find DE genes within paired samples like "P1_AT vs P1_BT", "P2_AT vs P2_BT" and so on?
In the above post, two sections from edgeR (section 3.3.1-Multifactor analysis and section 4.1-Paired).
From section4.1, I need some help in understanding the output. f
it <- glmFit(y, design)
lrt <- glmLRT(fit)
topTags(lrt)
Coefficient: TissueT
RefSeqID Symbol NbrOfExons logFC logCPM LR PValue FDR
5737 NM_001039585 PTGFR 4 -5.18 4.74 98.7 2.97e-23 3.12e-19
5744 NM_002820 PTHLH 4 3.97 6.21 92.2 8.00e-22 4.21e-1
colnames(design)[1] "(Intercept)" "Patient33" "Patient51" "TissueT"
This is my understanding, TissueT refers to comparison of all tumor samples (8T, 33T, 51T) vs all normal samples (8N, 33N, 51N). Am I correct?
What about Patient33, does it mean Patient33 (N and T) vs Patient8 (N and T)?
What about Patient51, does it mean Patient51 (N and T) vs Patient8 (N and T)?
In order to compare, Patient51 N vs Patient51 T, what design and contrast should be selected?


