Entering edit mode
11.3 years ago
upendrakumar.devisetty
▴
400
I have a question regarding how to set up model matrix for my data frame in edgeR.
The complete steps from reading counts table after mapping till setting up model matrix is given here http://rpubs.com/upendra_35/7800
So basically in the dataframe i have two genotypes, two treatments and 7 tissues and if i am interested in looking for all those differentially expressed genes for each of the individual tissue, which of the two model matrix should i use?
design <- model.matrix(~gt * trt)
design <- model.matrix(~group)
Thanks Upendra
Hello Upendra
I have a similar question about setting up the model matrix in edgeR for performing anova-like analysis. Since I am new to computing in general, I don't entirely understand the codes.
Experimental setup: I have two mammalian cell lines (Lets say) A, B. RNA-Seq analysis was done on these two cell lines at different concentrations of serum: 10%, 5% and 0%. Only cell line A was present in all three conditions (10,5,0) but cell line B is present in only 10% and 5%.
I want to do an anova analysis across the two cell lines in all conditions. Could you please verify the way I have setup the model matrix? My code is below.
Thank You