Re: [R] How to do covariate adjustment in R

From: karena <>
Date: Thu, 19 May 2011 22:58:49 -0700 (PDT)

Thank you so much for this reply, Peter. It helps.

I know this is one way to adjust for covariates. However, if what I want is to get the 'remaining values' after adjustment. For example, say, 'gene expression' value is denoted as 'ge', and for each gene, ge=a*age+b*sex+c*per_se

My question is: how to get the value of 'per_se' for each gene?

thanks again.


View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 20 May 2011 - 06:06:15 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 20 May 2011 - 23:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive