Question: Retrieving corrected matrix after linear model adjustment
0
gravatar for ahmed.asadik
2.1 years ago by
Germany, DKFZ
ahmed.asadik0 wrote:

Dear All,

I am using the limma package for differential expression analysis. In my datasets there are strong confounding effects due to both technical variation and biological contamination of the tumor cells with infiltrating cells and stroma.

I would like to cluster my patient samples after removing the confounders and for this I would need a matrix that has the new values after removing the confounding effects (similar to what ComBat is doing).

However, I have 10 covariate terms and 15 of their pairwise interactions and Combat doesn't allow for more than one Batch effect.

Could I use limma to fit a linear model including all covariates and then calculate a new matrix that would give the gene values after removing the confounders, Or is there some way to do this using sva?

I would really appreciate your reply, I have been scratching my head for a couple of days now.

Best,

Ahmed

 

limma sva • 344 views
ADD COMMENTlink modified 2.1 years ago by James W. MacDonald51k • written 2.1 years ago by ahmed.asadik0
Answer: Retrieving corrected matrix after linear model adjustment
0
gravatar for James W. MacDonald
2.1 years ago by
United States
James W. MacDonald51k wrote:

Yes. See ?removeBatchEffect

ADD COMMENTlink written 2.1 years ago by James W. MacDonald51k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 245 users visited in the last hour