How to control for confounders in champ.DMP and champ.DMR?
1
0
Entering edit mode
l.milicic • 0
@9d16b4ba
Last seen 2.6 years ago
Australia

Hi,

I'm wondering if there is a way to include potential confounders such as age, sex, genotype, cell composition, etc. into champ.DMR and champ.DMR analysis and if there is, how would I do so?

Thanks!

ChAMP • 1.2k views
ADD COMMENT
0
Entering edit mode
Basti ▴ 780
@7d45153c
Last seen 23 hours ago
France

Hi, as the champ.DMP and champ.DMR can only take one variable as it stands, I would directly modify the source code because it rely on limma : https://rdrr.io/bioc/ChAMP/src/R/champ.DMP.R Particularly, you need to modify the model.matrix <- model.matrix(~ pheno, data=df) by your model with covariates.

ADD COMMENT

Login before adding your answer.

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