Retrieving corrected matrix after linear model adjustment
1
0
Entering edit mode
@ahmedasadik-11805
Last seen 5.3 years ago
Germany, DKFZ

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 • 689 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 hours ago
United States

Yes. See ?removeBatchEffect

ADD COMMENT

Login before adding your answer.

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