I would like to test for group-specific effects in my dataset. This contains a group, time and individual (ID) factors as is in the DESEQ2 Vignette under "Group-specific condition effects, individuals nested within groups". After adding a 'id.n' column to my dds, the vignette states:
"Now we can reassign our DESeqDataSet a design of ~ grp + grp:ind.n + grp:cnd, before we call DESeq. This new design will result in the following model matrix:"
It provides no information on reassigning the formula. I tried the following but the formula is linked to ibjects and this replaces it with language.
dds@design[[2]] <- 'group + group:ind.n+group:time'
Thank you for you help.
Your timely response just saved my dissertation, Dr. Love. Thank you very much.
Hi Dr. Love, I'm revisiting this data and am getting the "full model matrix is less than full rank" error when I try to call DEseq2.
My ColData:
My design:
Sorry, I don't have time to help with statistical consultation on the support site. I have to save my time for software related questions. I'd recommend to find a local statistician or someone familiar with linear models in R.