analysing continuous variable with limma and correcting for covariates
1
0
Entering edit mode
chris86 ▴ 420
@chris86-8408
Last seen 4.4 years ago
UCL, United Kingdom

Hi

I have just switched to analysing my data with a continuous instead of 2 group variable with limma. Is this correct with the addition of covariates in this manner?

design <- model.matrix(~des4$DAS28.0M+des4$AGE+des4$GENDER+des4$RACE)
matrix <- data.matrix(data3)
fit <- lmFit(matrix,design)
fit <- eBayes(fit)
top2 <- topTable(fit,coef=2,number=Inf,sort.by="P")

significant <- subset(top2, top2$adj.P.Val < 0.01)

Thanks,

Chris

limma microarray • 1.3k views
ADD COMMENT
2
Entering edit mode
@james-w-macdonald-5106
Last seen 12 hours ago
United States

It's hard to say if it's correct or not, as you don't really say what you are after.

This model does control for race and gender specific effects, as well as for continuous changes due to age. But you are implicitly assuming that these changes are simply a mean shift rather than directional. In other words, for a given gene you are assuming that males and females react the same to whatever DAS28.0M is, but perhaps that one sex has higher or lower intrinsic expression of that gene. So if you partition that difference into the gender coefficient, you in effect set the males and females to the same baseline expression, and you can then test for changes due to DAS28.0M.

But if the gene goes up in males but down in females when you treat with DAS28.0M, this model may not alert you to that fact. The same is true of race. And if the gene expression tends to go up with age in one race, but down with age in another race, well you get the point.

So yes, it's correct to specify a model in this manner, but whether or not it's correct for the experiment at hand is a different question altogether.

ADD COMMENT
0
Entering edit mode

Right sorry this is just baseline arthritis disease activity we are modelling here. I don't think we would expect many genes to go in opposite directions depending on gender and race so I will just proceed to use this model - based on what you have said here. Thanks.

ADD REPLY

Login before adding your answer.

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