Hi,
I have an issue with my Deseq analysis that I can't solve. I'm trying to see if a clinical treatment can cause changes in RNA expression in human PBMCs. My data are organized as follows:
It's an example since I have a total of 138 sample (69 IDs)
When I run the Deseq command: design = ~ ID + Batch + Comparison
I obtained the error:
Error in checkFullRank(modelMatrix) : the model matrix is not full rank, so the model cannot be fit as specified. One or more variables or interaction terms in the design formula are linear combinations of the others and must be removed.
I can't understand why I can't insert the batch as variable.
Thank you.
oh, I see. I avoid the eventual batch effect since I'm doing a paired analysis.