How to fix DESeq2 Error in checkFullRank(modelMatrix)
1
0
Entering edit mode
10 months ago
marco.barr ▴ 160

Hi, this is my colData

enter image description here

from my DESeq2 analysis returns this error:

ddsTxi <- DESeqDataSetFromTximport(txi, colData = colData, design = ~concentration+condition)      
Errore 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.

Please read the vignette section 'Model matrix not full rank':

vignette('DESeq2')

How can I reshape my data to avoid linear combinations? Thanks

deseq2 • 614 views
ADD COMMENT
3
Entering edit mode
10 months ago

Your conecntration and condition are effectively the same thing, there is no way this can be rearranged to to fit effects for both concentration and condition. What are you trying to achieve?

ADD COMMENT
0
Entering edit mode

In the concentration column there are 3 different treatments with their relative concentrations. I want to see if the differential expression changes between those treated at 1x concentration and those treated at 10x. I wanted to set up my experimental design with the two covariates of both treatment and concentration. How can I do?

ADD REPLY
0
Entering edit mode

Treatment and concentration is the same. 10x is always B, 1x is always A, untreated is always 0. Use one or the other column, but not both for the analysis.

ADD REPLY
0
Entering edit mode

If you want to detect the difference that the concentration of the treatment makes to gene expression, then you just want ~concentration not ~concentration + treatment

ADD REPLY

Login before adding your answer.

Traffic: 1467 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6