hi ! I have a two factor RNA seq ,each factors have multiple levels(4 developmental stages and 16 different tissues), here is a part of my data,
gene | P00_brain | P00_heart | P00_kidney | P00_liver | P00_lung | P21_brain | P21_heart | X7W_brain | X7W_heart |
gene1 | 7211 | 7551 | 6839 | 1891 | 13004 | 5699 | 1250 | 7004 | 9224 |
gene2 | 15 | 12 | 11 | 2 | 8 | 6 | 3 | 22 | 24 |
gene3 | 15 | 12 | 11 | 2 | 8 | 6 | 3 | 22 | 24 |
gene4 | 7215 | 7546 | 6838 | 1891 | 12990 | 5691 | 1251 | 6996 | 9188 |
gene5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
gene6 | 7437 | 2412 | 2490 | 159 | 4669 | 7309 | 830 | 4125 | 3376 |
gene7 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 |
gene8 | 33512 | 7114 | 5483 | 527 | 10461 | 12912 | 2113 | 9720 | 9734 |
gene9 | 7 | 2 | 1 | 0 | 1 | 1 | 0 | 0 | 2 |
There are 10 of these samples having replicates.(total 58 combinations,not 64 combinations since there are some tissues are not developed in certain developmental stage)
Here are my assumptions:
1. There are common DE geneto guide development regardless tissues in order to response same developmental signals,
2. Different tissues have different DE genes to guide differentiations even if these different tissues are at the same developmental stage.
I would like to ask How to design a formalu( moderl.matrix(~time+tissue?) ) to answer my previous questions?:
1. To find differential expressed genes regardless tissues among four periods??
In my thoughts, I should perform DE analysis in each single tissue among 4 periods, afterwards I just pick the co-occurrence genes in top (maybe 50?) DEed genes ? what would be the difference between code below:
d1 <- model.matrix(~time+tissue)
fit <- glmFit(y, d1)
lrt <- glmLRT(fit, coef=2:4)
I am new to edgeR and biostatics, thanks in advance.
It's not entirely clear what your experimental design is. You say have 58 different combinations of time and tissue. But how many replicates do you have for each combination? There's a mention of "10 samples having replicates", but I'm not sure how to interpet that. You'd probably get a better answer if you showed us the definition of the
time
andtissue
vectors.