Hello,
How do you go about making a design matrix when the control has 8 replicates and the rest have 9. Is it possible or do I have to throw out the one extra from the rest. Thank you!
Hello,
How do you go about making a design matrix when the control has 8 replicates and the rest have 9. Is it possible or do I have to throw out the one extra from the rest. Thank you!
Yes you can:
model.matrix(~0 + Treatments, data = data.frame(Treatments = factor(c(rep("Control", times = 8), rep("Treated", times = 9)))))
That's a whole different kettle of fish. Depends on your experimental design, if your tumour/normal samples are paired, what type of data you have, etc, etc, etc. The design matrix itself is essentially a description of your experimental design. I think you need to do some more reading, or consult with some bioinformatics support at your institution.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
In most cases you can have 8 replicates vs 9. But what is your goal here ?
The goal is to find DEGs between the time points. So a pairwise comparison between all time points.