how to adjust a phenotype according to age
0
0
Entering edit mode
5.1 years ago
xinhui.wang ▴ 550

Dear all,
I am running an analysis on one phenotype and many SNPs with random forest. However, I find that phenotype correlated with age. I would like to correct phenotype with ages, then run the random forest on SNPs. At this moment, I run the linear model on phenotype with age, and used the residual as the adjusted phenotype. I am wondering there anyone know some methods could be used to correct/adjust the phenotype according with ages?
Thanks and with best regards,
Xinhui

R • 1.7k views
ADD COMMENT
0
Entering edit mode

Sidebar: Why is R the only tag here? Why not add a few subject matter related tags?

ADD REPLY
0
Entering edit mode

i have no idea which tag shall be added? Do you some idea?

ADD REPLY
0
Entering edit mode
  • random forest
  • correlation

are a couple I can glean just from the post text. Nothing in the post suggests you're using R though.

ADD REPLY
0
Entering edit mode

thanks. I changed the description!

ADD REPLY
0
Entering edit mode

The post still has just one tag and the text does not mention any R package or function call, so I don't see any effective change.

ADD REPLY
0
Entering edit mode

How did you determine this?

However, I find that phenotype correlated with age.

ADD REPLY
0
Entering edit mode

correlation coefficient as 0.70 ...

ADD REPLY
0
Entering edit mode

Correlation p value?

ADD REPLY
0
Entering edit mode

Also, is it statistically significant when you model it against your outcome in a lm() or glm() ?

ADD REPLY
0
Entering edit mode

yes, p value < 0.00000001

ADD REPLY
0
Entering edit mode

I get worried when I see p-values like that from regression. What is the standard error and Estimate? Also, the confidence intervals for the odds ratio? - A: Polygenic Risk Scores: Odds ratio or Beta-coefficient?

In any case, I don't believe there is any right or wrong answer. Also, I cannot see your data and can only ask you questions here. You may want to read this: Are your covariates under control? How normalization can re-introduce covariate effects

ADD REPLY

Login before adding your answer.

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