LIMMA how to model unidentified source of covariate
1
0
Entering edit mode
scheran02 • 0
@scheran02-20443
Last seen 5.6 years ago

Hi, using RNAseq I am interested in the RNA expression signature of two patient groups. Initial analyses with LIMMA indicate that there is a source of variation which contributes more to the variance within the sample groups than between them. In a PCA the samples of the patient groups are separated along PC2, while a covariate (or covariates) contribute(s) to PC1. So far we have not been able to identify the source of variation in PC1. What can I do to model the unknown covariate and just get to the variance contributing to the difference of the patient groups? I guess in general the question comes down to: How to model sources of unknown variation? Thank you so much. Andreas

PS I have some though not very strong background in statistics and R

limma covariate • 1.3k views
ADD COMMENT
1
Entering edit mode

Hi Scheran, perhaps you can make a biplot to see the genes that drive the variance in your PCA analysis. See this link for a description of the biplot. I hope this helps. And one more thing, perhaps there is also a component of technical (e.g. batch effect) instead of biological variation in your data?

ADD REPLY
1
Entering edit mode
@gordon-smyth
Last seen 13 minutes ago
WEHI, Melbourne, Australia

You could try limma's wsva function. Just run the wsva the same way you run lmFit and add the first one or two generated surrogate variables to your design matrix.

Other similar possibilities can be found in the sva and ruvseq packages.

ADD COMMENT
0
Entering edit mode

Thank you, Gordon. I would also need to show the effect of the batch removal in a cluster or PCA. How would I use the SVAs in the generic code removeBatchEffect(x, batch=NULL, batch2=NULL, covariates=NULL, design=matrix(1,ncol(x),1), ...) Would it be as batch and batch2, such as batch=sva.obj$sv1,batch2=sva.obj$sv2, or should they be part of the design matrix?

ADD REPLY

Login before adding your answer.

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