the fixed-effects model matrix is column rank deficient when adding a variable
1
0
Entering edit mode
2.9 years ago
Will ▴ 10

I'm computing LIMMA on a RNAseq Data. When I use this formula:

~feature + age  + (1 | sex) + (1 | group) + (1 | id)

inside voomWithDreamWeights() I have no problems. When I add a variable to this formula I have the following error:

Error in .fitVarPartModel(exprObj, formula, data, REML = REML, useWeights = useWeights,  : 
  the fixed-effects model matrix is column rank deficient (rank(X) = 339 < 340 = p);
the fixed effects will be jointly unidentifiable 

Suggestion: rescale fixed effect variables.
This will not change the variance fractions or p-values

age and the variable that gives me this problem are continuous variable.

voom LIMMA dream RNA rescale • 1.7k views
ADD COMMENT
0
Entering edit mode
2.9 years ago
Shab86 ▴ 310

So, adding another variable causes the error? If so, what's that variable?

ADD COMMENT
0
Entering edit mode

it is just a numeric continuous variable, i.e. the Intracranial volume

ADD REPLY
0
Entering edit mode

Is it that the intracranial volume is in such units that they are inordinately larger compared to all the rest of your predictors?

ADD REPLY
0
Entering edit mode

Yes the value is larger compared to the other variables

ADD REPLY
0
Entering edit mode

I think that could be why you are indeed getting this error. Maybe you could scale the intracranial volume and then use it in limma-voom.

ADD REPLY

Login before adding your answer.

Traffic: 2650 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