DESeq2 Not full Rank - Age & Medication
0
0
Entering edit mode
18 months ago
Anand ▴ 30

Hi. I've a data matrix which looks like this:

I'm trying to carrying out DGE analysis controlling for age and medication so I used the following:

design(ddsMF)<-formula(~age+medication+group)
ddsMF<-DESeq(ddsMF)


And end up with the error, "Full model matrix is less than full rank."

I saw the vignettes on the DESeq2 tutorial but am not sure if they would work here given the large age range. Any advice would be most welcome.

medication DESeq2 age rank • 898 views
2
Entering edit mode

Odds are good that you have a typo somewhere in your design matrix. Make sure group and medication are factors with only 2 levels and that age is numeric, rather than a factor. Otherwise the model matrix should be full rank.

0
Entering edit mode

Fixed! Thanks Devon.

0
Entering edit mode

For future people with the same issue, can you mention exactly what was wrong?